mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
rm: allow empty when for --interactive arg
This commit is contained in:
parent
08c71fc80c
commit
78909fdd39
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@ pub fn uu_app() -> Command {
|
|||
prompts always",
|
||||
)
|
||||
.value_name("WHEN")
|
||||
.num_args(0..=1)
|
||||
.require_equals(true)
|
||||
.default_missing_value("always")
|
||||
.overrides_with_all([OPT_PROMPT, OPT_PROMPT_MORE]),
|
||||
)
|
||||
.arg(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue