summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-04-09 10:39:17 +0000
committerJim Meyering <jim@meyering.net>2005-04-09 10:39:17 +0000
commit113bb1ac7beabbe1bb83769b0d6f1299c4cc50b5 (patch)
tree7b1d78edf599c2877f3f01b8164106c61f885d0d
parent80607d62d1b6cda97127b07270a3ba155e8c933e (diff)
downloadcoreutils-113bb1ac7beabbe1bb83769b0d6f1299c4cc50b5.tar.xz
(usage): Mention that --recursive removes listed
directories too, not just their contents. Say that by default, rm does not remove directories.
-rw-r--r--src/rm.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/rm.c b/src/rm.c
index e3933a5d6..1aeab6836 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -1,5 +1,5 @@
/* `rm' file deletion utility for GNU.
- Copyright (C) 88, 90, 91, 1994-2004 Free Software Foundation, Inc.
+ Copyright (C) 88, 90, 91, 1994-2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -117,11 +117,16 @@ Remove (unlink) the FILE(s).\n\
fputs (_("\
--no-preserve-root do not treat `/' specially (the default)\n\
--preserve-root fail to operate recursively on `/'\n\
- -r, -R, --recursive remove the contents of directories recursively\n\
+ -r, -R, --recursive remove directories and their contents recursively\n\
-v, --verbose explain what is being done\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
+ fputs (_("\
+\n\
+By default, rm does not remove directories. Use the --recursive (-r or -R)\n\
+option to remove each listed directory, too, along with all of its contents.\n\
+"), stdout);
printf (_("\
\n\
To remove a file whose name starts with a `-', for example `-foo',\n\