[PATCH 1/8] commands: usbgadget: remove deprecated s option from help text

Sascha Hauer sha at pengutronix.de
Mon Feb 1 04:07:02 EST 2021


On Fri, Jan 29, 2021 at 05:11:09PM +0100, Ahmad Fatoum wrote:
> Prior to 44add42d4330 ("usbgadget: autostart: add DFU support"), -s used
> to do nothing. That commit made it behave like -a, but deprecated it and
> changed the help text to omit it. Remove it from the short help text as
> well.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  commands/usbgadget.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/commands/usbgadget.c b/commands/usbgadget.c
> index 9133402f52fb..3b115f147d80 100644
> --- a/commands/usbgadget.c
> +++ b/commands/usbgadget.c
> @@ -67,7 +67,7 @@ BAREBOX_CMD_HELP_END
>  BAREBOX_CMD_START(usbgadget)
>  	.cmd		= do_usbgadget,
>  	BAREBOX_CMD_DESC("Create USB Gadget multifunction device")
> -	BAREBOX_CMD_OPTS("[-asdAD]")
> +	BAREBOX_CMD_OPTS("[-adAD]")
>  	BAREBOX_CMD_GROUP(CMD_GRP_HWMANIP)
>  	BAREBOX_CMD_HELP(cmd_usbgadget_help)
>  BAREBOX_CMD_END
> -- 
> 2.30.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list