1
Fork 0
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:
John Shin 2023-05-22 21:11:47 -07:00
parent 08c71fc80c
commit 78909fdd39

View file

@ -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(