mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2026-01-21 04:31:13 +00:00
df: allow multiple occurrences of --output arg
Allow multiple occurrences of the `--output` argument. For example,
$ df --output=source --output=target | head -n1
Filesystem Mounted on
This commit is contained in:
parent
d5d6bc3050
commit
a1f300e8a7
2 changed files with 13 additions and 0 deletions
|
|
@ -389,6 +389,7 @@ pub fn uu_app<'a>() -> Command<'a> {
|
|||
.long("output")
|
||||
.takes_value(true)
|
||||
.use_value_delimiter(true)
|
||||
.multiple_occurrences(true)
|
||||
.possible_values(OUTPUT_FIELD_LIST)
|
||||
.default_missing_values(&OUTPUT_FIELD_LIST)
|
||||
.default_values(&["source", "size", "used", "avail", "pcent", "target"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue