]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hwclock: update usage()
authorJ William Piggott <elseifthen@gmx.com>
Mon, 4 Sep 2017 01:17:28 +0000 (21:17 -0400)
committerKarel Zak <kzak@redhat.com>
Tue, 5 Sep 2017 10:33:19 +0000 (12:33 +0200)
Improve usage strings for debug and version.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
include/c.h
sys-utils/hwclock.c

index 119a127e30cbce3ca44233c729b34e10877e0279..b0670dcaade805c426cd281a47c37e9df4ffe422 100644 (file)
@@ -317,7 +317,7 @@ static inline int xusleep(useconds_t usec)
 #define USAGE_SEPARATOR    "\n"
 
 #define USAGE_OPTSTR_HELP     _("display this help")
-#define USAGE_OPTSTR_VERSION  _("print version")
+#define USAGE_OPTSTR_VERSION  _("display version")
 
 #define USAGE_HELP_OPTIONS(marg_dsc) \
                "%-" #marg_dsc "s%s\n" \
index 9fb631f6fbdedb161ff7aa7736d7b124cd1f5f23..bf5459783ac42096983af375cdd6477d615c0e3d 100644 (file)
@@ -1101,7 +1101,7 @@ usage(void)
        printf(_(
               "     --adjfile <file> use an alternate file to %1$s\n"), _PATH_ADJTIME);
        puts(_("     --test           dry run; use -D to view what would have happened"));
-       puts(_(" -D, --debug          use debug mode"));
+       puts(_(" -D, --debug          display more details"));
        fputs(USAGE_SEPARATOR, stdout);
        printf(USAGE_HELP_OPTIONS(22));
        printf(USAGE_MAN_TAIL("hwclock(8)"));