Re: [PATCH 17/19] dmesg: make usage() a little bit shorter

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

 



On Sun, Jun 02, 2013 at 06:51:23PM +0100, Sami Kerola wrote:
> The dmesg has rather long usage, so drop the timestamp format options
> which are aliases of the more generic options.  Old options will remain
> working as earlier.
> 
> Signed-off-by: Sami Kerola <kerolasa@xxxxxx>
> ---
>  sys-utils/dmesg.c | 8 ++------
>  1 file changed, 2 insertions(+), 6 deletions(-)
> 
> diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c
> index adfd6a5..d80b3e9 100644
> --- a/sys-utils/dmesg.c
> +++ b/sys-utils/dmesg.c
> @@ -234,8 +234,6 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
>  	fputs(_(" -C, --clear                 clear the kernel ring buffer\n"), out);
>  	fputs(_(" -c, --read-clear            read and clear all messages\n"), out);
>  	fputs(_(" -D, --console-off           disable printing messages to console\n"), out);
> -	fputs(_(" -d, --show-delta            show time delta between printed messages\n"), out);
> -	fputs(_(" -e, --reltime               show local time and time delta in readable format\n"), out);

 I'd like to keep the aliases in the usage() output. IMHO it's fine to use

    fputs(_(" -e, --reltime               alias to --time-format reltime");

 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