diff options
author | Jim Meyering <jim@meyering.net> | 2005-04-09 10:39:17 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-04-09 10:39:17 +0000 |
commit | 113bb1ac7beabbe1bb83769b0d6f1299c4cc50b5 (patch) | |
tree | 7b1d78edf599c2877f3f01b8164106c61f885d0d | |
parent | 80607d62d1b6cda97127b07270a3ba155e8c933e (diff) | |
download | coreutils-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.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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\ |