summaryrefslogtreecommitdiff
path: root/src/ls.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/ls.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/ls.c')
-rw-r--r--src/ls.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ls.c b/src/ls.c
index faea02e34..2416e1e2f 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -3667,10 +3667,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\
-X sort alphabetically by entry extension\n\
-1 list one file per line\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);
fputs (_("\
\n\
By default, color is not used to distinguish types of files. That is\n\