Re: [PATCH 07/12] hwclock: update --help content and grammar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 20, 2017 at 10:51:43AM +0200, Karel Zak wrote:
> On Sun, Jun 18, 2017 at 08:45:09PM -0400, J William Piggott wrote:
> > 
> > Signed-off-by: J William Piggott <elseifthen@xxxxxxx>
> > ---
> >  include/c.h         |  4 ++--
> >  sys-utils/hwclock.c | 48 +++++++++++++++++++++---------------------------
> >  2 files changed, 23 insertions(+), 29 deletions(-)
> > 
> > diff --git a/include/c.h b/include/c.h
> > index 9c19965..bd073fc 100644
> > --- a/include/c.h
> > +++ b/include/c.h
> > @@ -319,8 +319,8 @@ static inline int xusleep(useconds_t usec)
> >  #define USAGE_OPTIONS    _("\nOptions:\n")
> >  #define USAGE_FUNCTIONS  _("\nFunctions:\n")
> >  #define USAGE_SEPARATOR    "\n"
> > -#define USAGE_HELP       _(" -h, --help     display this help and exit\n")
> > -#define USAGE_VERSION    _(" -V, --version  output version information and exit\n")
> > +#define USAGE_HELP       _(" -h, --help     display this information and exit\n")

We can also add 

    #define USAGE_COLUMNS   _("Available columns:\n")

for -o,--output <columns>, and 

    #define USAGE_COMMANDS  _("\nCommands:\n")

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux