From 10cd480a0134fd2282ae0379284c64f17cfcf2c3 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Fri, 25 Dec 2020 03:41:48 -0800 Subject: [PATCH] rm: allow "-f" to be specified multiple times (#1667) This matches the behavior of GNU rm. Fixes #1663. Co-authored-by: Kevin Burke --- src/uu/rm/src/rm.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uu/rm/src/rm.rs b/src/uu/rm/src/rm.rs index eaacb9555..28f854319 100644 --- a/src/uu/rm/src/rm.rs +++ b/src/uu/rm/src/rm.rs @@ -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(