nproc: use the variable name

This commit is contained in:
Sylvestre Ledru 2020-09-26 18:05:32 +02:00
parent 805801ec39
commit c660684a8c

View file

@ -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"),
)