]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main, longopts):
authorJim Meyering <jim@meyering.net>
Mon, 19 Apr 1999 02:15:09 +0000 (02:15 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 19 Apr 1999 02:15:09 +0000 (02:15 +0000)
Use -u instead of -R for --remove, so that we can preserve
future compatibility with rm.

src/shred.c

index 922ccefb528bb7683eb2874ec797595c446b9068..ceba22919898e9df34d514262ee0055bd9294cd8 100644 (file)
@@ -438,7 +438,7 @@ static struct option const long_opts[] =
   {"force", no_argument, NULL, 'f'},
   {"iterations", required_argument, NULL, 'n'},
   {"size", required_argument, NULL, 's'},
-  {"remove", no_argument, NULL, 'R'},
+  {"remove", no_argument, NULL, 'u'},
   {"verbose", no_argument, NULL, 'v'},
   {"zero", required_argument, NULL, 'z'},
   {GETOPT_HELP_OPTION_DECL},
@@ -1732,7 +1732,7 @@ main (int argc, char **argv)
          }
          break;
 
-       case 'R':
+       case 'u':
          flags.remove_file = 1;
          break;