Re: [pull] some sys-utils improvements

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

 



On Sat, Sep 17, 2011 at 03:10:39PM +0200, Sami Kerola wrote:
> >   printf(_("-x, --extra-mega-cool <file>    enable the best feature for <file>\n");
> >   printf(USAGE_SEPARATOR);
> >   printf(USAGE_HELP);
> >   printf(USAGE_USAGE);
> >   printf(USAGE_MAN_TAIL("foo(1)");
[...]
> The usage howto is already telling --help and --version are expected to be
> last in list, so that should be OK. The separator in between specific and
> 'common' options is added to howto and code. Obvious good thing about the
> separator is that if we end up not liking it it's trivial to make
> ineffective.

 Note that the separator should not be used after USAGE_OPTIONS (I
 have fixed this in the code).

[...]

> My suggestion is to expand utility we alrady have
> 
> tools/checkincludes.pl

 no problem, go ahead.

>  Documentation/howto-contribute.txt     |   18 ++
>  Documentation/howto-usage-function.txt |    6 +-
>  include/c.h                            |    4 +-
>  sys-utils/Makefile.am                  |    2 +
>  sys-utils/arch.c                       |    5 +-
>  sys-utils/ctrlaltdel.8                 |   20 +-
>  sys-utils/ctrlaltdel.c                 |   39 +++-
>  sys-utils/ipcmk.1                      |   52 ++--
>  sys-utils/ipcmk.c                      |  144 ++++-----
>  sys-utils/ipcrm.1                      |   65 ++---
>  sys-utils/ipcrm.c                      |  515 ++++++++++++++++++++------------
>  sys-utils/ipcs.1                       |  101 ++++---
>  sys-utils/ipcs.c                       |  278 +++++++++---------
>  sys-utils/pivot_root.8                 |   10 +-
>  sys-utils/pivot_root.c                 |   60 +++-
>  sys-utils/setarch.8                    |   21 +-
>  sys-utils/setarch.c                    |   74 +++---
>  17 files changed, 841 insertions(+), 573 deletions(-)

 Applied, thanks.

-- 
 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