mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
nproc: use the variable name
This commit is contained in:
parent
805801ec39
commit
c660684a8c
1 changed files with 2 additions and 2 deletions
|
@ -47,13 +47,13 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name(OPT_ALL)
|
Arg::with_name(OPT_ALL)
|
||||||
.short("")
|
.short("")
|
||||||
.long("all")
|
.long(OPT_ALL)
|
||||||
.help("print the number of cores available to the system"),
|
.help("print the number of cores available to the system"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name(OPT_IGNORE)
|
Arg::with_name(OPT_IGNORE)
|
||||||
.short("")
|
.short("")
|
||||||
.long("ignore")
|
.long(OPT_IGNORE)
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.help("ignore up to N cores"),
|
.help("ignore up to N cores"),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue