mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
nice: Permit --adjustment to be specified multiple times
This is tested by the GNU coreutils test suite, and the correct behaviour is the last specification wins. Signed-off-by: Ed Smith <ed.smith@collabora.com>
This commit is contained in:
parent
8aa9f346ef
commit
07e7372311
1 changed files with 2 additions and 0 deletions
|
@ -190,6 +190,8 @@ pub fn uu_app() -> Command {
|
|||
.short('n')
|
||||
.long(options::ADJUSTMENT)
|
||||
.help("add N to the niceness (default is 10)")
|
||||
.action(ArgAction::Set)
|
||||
.overrides_with(options::ADJUSTMENT)
|
||||
.allow_hyphen_values(true),
|
||||
)
|
||||
.arg(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue