summaryrefslogtreecommitdiff
path: root/src/rm.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-12-02 22:26:57 +0000
committerJim Meyering <jim@meyering.net>2001-12-02 22:26:57 +0000
commitf3ac2e783982387442dbd13cc30df0f41d52c779 (patch)
tree3e3f11f12b41d0e8547b8dc950a7831e5d478840 /src/rm.c
parent01f0361e79febac5df5ff9392b2c24688268adfd (diff)
downloadcoreutils-f3ac2e783982387442dbd13cc30df0f41d52c779.tar.xz
Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
instead of hard-coding --help and --version descriptions.
Diffstat (limited to 'src/rm.c')
-rw-r--r--src/rm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rm.c b/src/rm.c
index a3f214b66..9c105efe2 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -94,10 +94,8 @@ Remove (unlink) the FILE(s).\n\
-r, -R, --recursive remove the contents of directories recursively\n\
-v, --verbose explain what is being done\n\
"), stdout);
- fputs (_("\
- --help display this help and exit\n\
- --version output version information and exit\n\
-"), stdout);
+ fputs (HELP_OPTION_DESCRIPTION, stdout);
+ fputs (VERSION_OPTION_DESCRIPTION, stdout);
printf (_("\
\n\
To remove a file whose name starts with a `-', for example `-foo',\n\