mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #5034 from cakebaker/numfmt_possible_values_are_shown_twice
numfmt: remove duplicate info from help output
This commit is contained in:
commit
4cd4df2880
1 changed files with 2 additions and 8 deletions
|
@ -360,10 +360,7 @@ pub fn uu_app() -> Command {
|
|||
.arg(
|
||||
Arg::new(options::ROUND)
|
||||
.long(options::ROUND)
|
||||
.help(
|
||||
"use METHOD for rounding when scaling; METHOD can be: up,\
|
||||
down, from-zero, towards-zero, nearest",
|
||||
)
|
||||
.help("use METHOD for rounding when scaling")
|
||||
.value_name("METHOD")
|
||||
.default_value("from-zero")
|
||||
.value_parser(["up", "down", "from-zero", "towards-zero", "nearest"]),
|
||||
|
@ -380,10 +377,7 @@ pub fn uu_app() -> Command {
|
|||
.arg(
|
||||
Arg::new(options::INVALID)
|
||||
.long(options::INVALID)
|
||||
.help(
|
||||
"set the failure mode for invalid input; \
|
||||
valid options are abort, fail, warn or ignore",
|
||||
)
|
||||
.help("set the failure mode for invalid input")
|
||||
.default_value("abort")
|
||||
.value_parser(["abort", "fail", "warn", "ignore"])
|
||||
.value_name("INVALID"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue