hwclock: update usage()
Improve usage strings for debug and version. Signed-off-by: J William Piggott <elseifthen@gmx.com>
This commit is contained in:
parent
ec56858bbb
commit
08e3c9e662
|
@ -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" \
|
||||
|
|
|
@ -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)"));
|
||||
|
|
Loading…
Reference in New Issue