From: J William Piggott Date: Mon, 4 Sep 2017 01:17:28 +0000 (-0400) Subject: hwclock: update usage() X-Git-Tag: v2.31-rc1~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08e3c9e6620232aa5433d102d3f8ac28bbae01b0;p=thirdparty%2Futil-linux.git hwclock: update usage() Improve usage strings for debug and version. Signed-off-by: J William Piggott --- diff --git a/include/c.h b/include/c.h index 119a127e30..b0670dcaad 100644 --- a/include/c.h +++ b/include/c.h @@ -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" \ diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index 9fb631f6fb..bf5459783a 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -1101,7 +1101,7 @@ usage(void) printf(_( " --adjfile 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)"));