From 18e5c5b5f7f2dddc8b20419d863c2c8786b441f4 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Tue, 4 Jul 2023 07:02:18 +0200 Subject: [PATCH] numfmt: remove duplicate info from help output --- src/uu/numfmt/src/numfmt.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/uu/numfmt/src/numfmt.rs b/src/uu/numfmt/src/numfmt.rs index 112d68746e5..b0a5670d459 100644 --- a/src/uu/numfmt/src/numfmt.rs +++ b/src/uu/numfmt/src/numfmt.rs @@ -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"),