summaryrefslogtreecommitdiff
path: root/src/mkdir.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/mkdir.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/mkdir.c')
-rw-r--r--src/mkdir.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mkdir.c b/src/mkdir.c
index b3bfb5cda..2b00c2f6d 100644
--- a/src/mkdir.c
+++ b/src/mkdir.c
@@ -71,10 +71,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\
-p, --parents no error if existing, make parent directories as needed\n\
-v, --verbose print a message for each created directory\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);
puts (_("\nReport bugs to <bug-fileutils@gnu.org>."));
}
exit (status);