mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 09:48:03 +00:00
df: set names for arg values & add missing space
This commit is contained in:
parent
a711597619
commit
be1f41e24c
1 changed files with 5 additions and 1 deletions
|
@ -445,6 +445,7 @@ pub fn uu_app<'a>() -> Command<'a> {
|
||||||
.short('B')
|
.short('B')
|
||||||
.long("block-size")
|
.long("block-size")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
|
.value_name("SIZE")
|
||||||
.overrides_with_all(&[OPT_KILO, OPT_BLOCKSIZE])
|
.overrides_with_all(&[OPT_KILO, OPT_BLOCKSIZE])
|
||||||
.help(
|
.help(
|
||||||
"scale sizes by SIZE before printing them; e.g.\
|
"scale sizes by SIZE before printing them; e.g.\
|
||||||
|
@ -501,6 +502,7 @@ pub fn uu_app<'a>() -> Command<'a> {
|
||||||
Arg::new(OPT_OUTPUT)
|
Arg::new(OPT_OUTPUT)
|
||||||
.long("output")
|
.long("output")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
|
.value_name("FIELD_LIST")
|
||||||
.min_values(0)
|
.min_values(0)
|
||||||
.require_equals(true)
|
.require_equals(true)
|
||||||
.use_value_delimiter(true)
|
.use_value_delimiter(true)
|
||||||
|
@ -510,7 +512,7 @@ pub fn uu_app<'a>() -> Command<'a> {
|
||||||
.default_values(&["source", "size", "used", "avail", "pcent", "target"])
|
.default_values(&["source", "size", "used", "avail", "pcent", "target"])
|
||||||
.conflicts_with_all(&[OPT_INODES, OPT_PORTABILITY, OPT_PRINT_TYPE])
|
.conflicts_with_all(&[OPT_INODES, OPT_PORTABILITY, OPT_PRINT_TYPE])
|
||||||
.help(
|
.help(
|
||||||
"use the output format defined by FIELD_LIST,\
|
"use the output format defined by FIELD_LIST, \
|
||||||
or print all fields if FIELD_LIST is omitted.",
|
or print all fields if FIELD_LIST is omitted.",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
@ -533,6 +535,7 @@ pub fn uu_app<'a>() -> Command<'a> {
|
||||||
.long("type")
|
.long("type")
|
||||||
.allow_invalid_utf8(true)
|
.allow_invalid_utf8(true)
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
|
.value_name("TYPE")
|
||||||
.multiple_occurrences(true)
|
.multiple_occurrences(true)
|
||||||
.help("limit listing to file systems of type TYPE"),
|
.help("limit listing to file systems of type TYPE"),
|
||||||
)
|
)
|
||||||
|
@ -549,6 +552,7 @@ pub fn uu_app<'a>() -> Command<'a> {
|
||||||
.long("exclude-type")
|
.long("exclude-type")
|
||||||
.allow_invalid_utf8(true)
|
.allow_invalid_utf8(true)
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
|
.value_name("TYPE")
|
||||||
.use_value_delimiter(true)
|
.use_value_delimiter(true)
|
||||||
.multiple_occurrences(true)
|
.multiple_occurrences(true)
|
||||||
.help("limit listing to file systems not of type TYPE"),
|
.help("limit listing to file systems not of type TYPE"),
|
||||||
|
|
Loading…
Reference in a new issue