mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
rm: allow "-f" to be specified multiple times (#1667)
This matches the behavior of GNU rm. Fixes #1663. Co-authored-by: Kevin Burke <kevin@burke.dev>
This commit is contained in:
parent
36d903e611
commit
10cd480a01
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
|
||||||
Arg::with_name(OPT_FORCE)
|
Arg::with_name(OPT_FORCE)
|
||||||
.short("f")
|
.short("f")
|
||||||
.long(OPT_FORCE)
|
.long(OPT_FORCE)
|
||||||
|
.multiple(true)
|
||||||
.help("ignore nonexistent files and arguments, never prompt")
|
.help("ignore nonexistent files and arguments, never prompt")
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue