mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 07:12:44 +00:00
mkdir: update markdown naming for consistency
This commit is contained in:
parent
7cfeba0d22
commit
e6fec39db1
2 changed files with 3 additions and 3 deletions
|
@ -6,6 +6,6 @@ mkdir [OPTION]... [USER]
|
|||
|
||||
Create the given DIRECTORY(ies) if they do not exist
|
||||
|
||||
## Long Usage
|
||||
## After Help
|
||||
|
||||
Each MODE is of the form '[ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=]?[0-7]+'.
|
||||
|
|
|
@ -24,7 +24,7 @@ static DEFAULT_PERM: u32 = 0o755;
|
|||
|
||||
const ABOUT: &str = help_about!("mkdir.md");
|
||||
const USAGE: &str = help_usage!("mkdir.md");
|
||||
const LONG_USAGE: &str = help_section!("long usage", "mkdir.md");
|
||||
const AFTER_HELP: &str = help_section!("after help", "mkdir.md");
|
||||
|
||||
mod options {
|
||||
pub const MODE: &str = "mode";
|
||||
|
@ -89,7 +89,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
|||
// Linux-specific options, not implemented
|
||||
// opts.optflag("Z", "context", "set SELinux security context" +
|
||||
// " of each created directory to CTX"),
|
||||
let matches = uu_app().after_help(LONG_USAGE).try_get_matches_from(args)?;
|
||||
let matches = uu_app().after_help(AFTER_HELP).try_get_matches_from(args)?;
|
||||
|
||||
let dirs = matches
|
||||
.get_many::<OsString>(options::DIRS)
|
||||
|
|
Loading…
Reference in a new issue