Re: [PATCH 3/5] hwclock: final usage() strings slice

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

 



On Sunday 02 July 2017, J William Piggott wrote:
> 
> Signed-off-by: J William Piggott <elseifthen@xxxxxxx>
> ---
>  sys-utils/hwclock.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c
> index eeb68e7..19d7652 100644
> --- a/sys-utils/hwclock.c
> +++ b/sys-utils/hwclock.c
> @@ -1238,7 +1238,8 @@ usage(const struct hwclock_control *ctl)
>  #endif
>  	puts(_("     --update-drift   update the RTC drift factor"));
>  	printf(_(
> -	       "     --noadjfile      do not use %1$s\n"
> +	       "     --noadjfile      do not use %1$s\n"), _PATH_ADJTIME);
> +	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"));

What about




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

What about the mentioned whitespaces for puts() to get printf
on one line? 

  puts(  _("     --update-drift   update the RTC drift factor"));
  printf(_("     --noadjfile      do not use %1$s\n"), _PATH_ADJTIME);
  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"));

cu,
Rudi
--
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