1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #2326 from tertsdiepraam/ls/hide-ignore-help-text

`ls`: add help text and value name for `--hide` and `--ignore`
This commit is contained in:
Sylvestre Ledru 2021-06-01 11:41:39 +02:00 committed by GitHub
commit 3625d98fc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -785,6 +785,8 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
.long(options::HIDE) .long(options::HIDE)
.takes_value(true) .takes_value(true)
.multiple(true) .multiple(true)
.value_name("PATTERN")
.help("do not list implied entries matching shell PATTERN (overridden by -a or -A)")
) )
.arg( .arg(
Arg::with_name(options::IGNORE) Arg::with_name(options::IGNORE)
@ -792,6 +794,8 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
.long(options::IGNORE) .long(options::IGNORE)
.takes_value(true) .takes_value(true)
.multiple(true) .multiple(true)
.value_name("PATTERN")
.help("do not list implied entries matching shell PATTERN")
) )
.arg( .arg(
Arg::with_name(options::IGNORE_BACKUPS) Arg::with_name(options::IGNORE_BACKUPS)