]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
New option for rm: --interactive=once (-I).
authorJim Meyering <jim@meyering.net>
Mon, 20 Feb 2006 12:50:38 +0000 (12:50 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 20 Feb 2006 12:50:38 +0000 (12:50 +0000)
Document it, along with change to rm --interactive.

NEWS

diff --git a/NEWS b/NEWS
index e641a1bf49bf179802d9e5eb63d2305b60396e30..6c4be07e6d02b7c84a6b9570bccdfbb53c0efc72 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -26,6 +26,9 @@ GNU coreutils NEWS                                    -*- outline -*-
   if your locale settings appear to be messed up.  This change
   attempts to have the default be the best of both worlds.
 
+  rm --interactive now takes an optional argument, although the
+  default of using no argument still acts like -i.
+
   mkfifo and mknod no longer set special mode bits (setuid, setgid,
   and sticky) with the -m option.
 
@@ -71,6 +74,12 @@ GNU coreutils NEWS                                    -*- outline -*-
   updating its access time, on hosts that support this (currently only
   Linux kernels, version 2.6.8 and later).
 
+  rm now accepts the -I (--interactive=once) option.  This new option
+  prompts once if rm is invoked recursively or if more than three
+  files are being deleted, which is less intrusive than -i prompting
+  for every file, but provides almost the same level of protection
+  against mistakes.
+
   sort now accepts the --random-sort (-R) option and `R' ordering option,
   as well as the --seed=STRING option.