mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 07:12:44 +00:00
install: move help strings to markdown file
This commit is contained in:
parent
d8a3ca0e56
commit
e22771628f
2 changed files with 11 additions and 4 deletions
8
src/uu/install/install.md
Normal file
8
src/uu/install/install.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# install
|
||||
|
||||
```
|
||||
install [OPTION]... [FILE]...
|
||||
```
|
||||
|
||||
Copy SOURCE to DEST or multiple SOURCE(s) to the existing
|
||||
DIRECTORY, while setting permission modes and owner/group
|
|
@ -19,7 +19,7 @@ use uucore::error::{FromIo, UError, UIoError, UResult, UUsageError};
|
|||
use uucore::fs::dir_strip_dot_for_creation;
|
||||
use uucore::mode::get_umask;
|
||||
use uucore::perms::{wrap_chown, Verbosity, VerbosityLevel};
|
||||
use uucore::{format_usage, show, show_error, show_if_err, uio_error};
|
||||
use uucore::{format_usage, show, show_error, show_if_err, uio_error, help_about, help_usage};
|
||||
|
||||
use libc::{getegid, geteuid};
|
||||
use std::error::Error;
|
||||
|
@ -144,9 +144,8 @@ impl Behavior {
|
|||
}
|
||||
}
|
||||
|
||||
static ABOUT: &str = "Copy SOURCE to DEST or multiple SOURCE(s) to the existing
|
||||
DIRECTORY, while setting permission modes and owner/group";
|
||||
const USAGE: &str = "{} [OPTION]... [FILE]...";
|
||||
const ABOUT: &str = help_about!("install.md");
|
||||
const USAGE: &str = help_usage!("install.md");
|
||||
|
||||
static OPT_COMPARE: &str = "compare";
|
||||
static OPT_DIRECTORY: &str = "directory";
|
||||
|
|
Loading…
Reference in a new issue