mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07: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:
co-authored by
Kevin Burke
parent
36d903e611
commit
10cd480a01
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user