hwclock: update usage()

Improve usage strings for debug and version.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
This commit is contained in:
J William Piggott 2017-09-03 21:17:28 -04:00 committed by Karel Zak
parent ec56858bbb
commit 08e3c9e662
2 changed files with 2 additions and 2 deletions

View 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" \

View 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)"));