Re: [PATCH] commands/hwclock: align -n option help

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

 



On Thu, May 09, 2019 at 09:42:00AM +0300, Antony Pavlov wrote:
> Help string for hwclock -n option isn't aligned:
> 
>   barebox@barebox sandbox:/ help hwclock
> 
>   hwclock - query or set the hardware clock (RTC)
> 
>   Options:
>           -f NAME                         RTC device name (default rtc0)
>           -e VARNAME                      store RTC readout into variable VARNAME
>           -n NTPSERVER            set RTC from NTP server
>           -s ccyymmddHHMM[.SS]            set time
> 
> Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx>
> ---
>  commands/hwclock.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/commands/hwclock.c b/commands/hwclock.c
> index 5073618675..1b5c2cd100 100644
> --- a/commands/hwclock.c
> +++ b/commands/hwclock.c
> @@ -175,7 +175,7 @@ BAREBOX_CMD_HELP_START(hwclock)
>  BAREBOX_CMD_HELP_TEXT("Options:")
>  BAREBOX_CMD_HELP_OPT ("-f NAME\t\t\t", "RTC device name (default rtc0)")
>  BAREBOX_CMD_HELP_OPT ("-e VARNAME\t\t", "store RTC readout into variable VARNAME")
> -BAREBOX_CMD_HELP_OPT ("-n NTPSERVER\t", "set RTC from NTP server")
> +BAREBOX_CMD_HELP_OPT ("-n NTPSERVER\t\t", "set RTC from NTP server")
>  BAREBOX_CMD_HELP_OPT ("-s ccyymmddHHMM[.SS]\t", "set time")
>  BAREBOX_CMD_HELP_END
>  
> -- 
> 2.20.1
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux