mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 02:08:09 +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)
|
||||
.short("f")
|
||||
.long(OPT_FORCE)
|
||||
.multiple(true)
|
||||
.help("ignore nonexistent files and arguments, never prompt")
|
||||
)
|
||||
.arg(
|
||||
|
|
Loading…
Reference in a new issue