Re: [PATCH] mw command: add `-x` option description

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

 



On Wed, May 23, 2018 at 02:45:55PM +0300, Peter Mamonov wrote:
> Signed-off-by: Peter Mamonov <pmamonov@xxxxxxxxx>
> ---
>  commands/mw.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/commands/mw.c b/commands/mw.c
> index bb6a16ef3..7ff589abb 100644
> --- a/commands/mw.c
> +++ b/commands/mw.c
> @@ -107,12 +107,13 @@ BAREBOX_CMD_HELP_OPT ("-w",  "word access (16 bit)")
>  BAREBOX_CMD_HELP_OPT ("-l",  "long access (32 bit)")
>  BAREBOX_CMD_HELP_OPT ("-q",  "quad access (64 bit)")
>  BAREBOX_CMD_HELP_OPT ("-d FILE",  "write file (default /dev/mem)")
> +BAREBOX_CMD_HELP_OPT ("-x",       "swap bytes")
>  BAREBOX_CMD_HELP_END
>  
>  BAREBOX_CMD_START(mw)
>  	.cmd		= do_mem_mw,
>  	BAREBOX_CMD_DESC("memory write")
> -	BAREBOX_CMD_OPTS("[-bwld] REGION DATA...")
> +	BAREBOX_CMD_OPTS("[-bwldx] REGION DATA...")
>  	BAREBOX_CMD_GROUP(CMD_GRP_MEM)
>  	BAREBOX_CMD_HELP(cmd_mw_help)
>  BAREBOX_CMD_END
> -- 
> 2.17.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

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