mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 12:37:49 +00:00
Merge pull request #4469 from papparapa/install-move-help-strings-to-md-file
install: move help strings to markdown file
This commit is contained in:
commit
199978694a
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, help_about, help_usage, show, show_error, show_if_err, uio_error};
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue