From c660684a8c5430f0f98f6526709edd5ddd230d85 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 26 Sep 2020 18:05:32 +0200 Subject: [PATCH] nproc: use the variable name --- src/uu/nproc/src/nproc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uu/nproc/src/nproc.rs b/src/uu/nproc/src/nproc.rs index 049a7ab4e..ec8aaf90a 100644 --- a/src/uu/nproc/src/nproc.rs +++ b/src/uu/nproc/src/nproc.rs @@ -47,13 +47,13 @@ pub fn uumain(args: impl uucore::Args) -> i32 { .arg( Arg::with_name(OPT_ALL) .short("") - .long("all") + .long(OPT_ALL) .help("print the number of cores available to the system"), ) .arg( Arg::with_name(OPT_IGNORE) .short("") - .long("ignore") + .long(OPT_IGNORE) .takes_value(true) .help("ignore up to N cores"), )