ls: add help text and value name for --hide and --ignore

This commit is contained in:
Terts Diepraam 2021-06-01 10:27:50 +02:00
parent c1f2d41a27
commit 1dc4ab92d9

View file

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