[PATCH] ubi: add setting devnum to ubiattach

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 1 00:52:55 PDT 2014


On Thu, Aug 28, 2014 at 03:27:11PM +0400, Antony Pavlov wrote:
> >  BAREBOX_CMD_START(ubiattach)
> >  	.cmd		= do_ubiattach,
> >  	BAREBOX_CMD_DESC("attach mtd device to UBI")
> > -	BAREBOX_CMD_OPTS("[-O] MTDDEV")
> > +	BAREBOX_CMD_OPTS("[-dO] MTDDEV")
> 
> Can we use a more accurate variant? Something like this one:

BAREBOX_CMD_OPTS for other commands look like Michael did it. The full
option semantics is still in the full help text.

Sascha


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



More information about the barebox mailing list