[PATCH 2/3] defenv-2: Add usage information for bootargs scripts

Sascha Hauer s.hauer at pengutronix.de
Thu Jul 5 03:35:05 EDT 2012


Hi Eric,

On Thu, Jul 05, 2012 at 09:22:47AM +0200, Eric Bénard wrote:
> Hi Sascha,
> 
> Le Thu,  5 Jul 2012 09:18:39 +0200,
> Sascha Hauer <s.hauer at pengutronix.de> a écrit :
> 
> > +while getopt "m:h" opt; do
> >  	if [ ${opt} = m ]; then
> >  		mtd=${OPTARG}
> > +	elif [ ${opt} = h ]; then
> > +		echo -e "$usage"
> > +		exit 0
> >  	fi
> >  done
> >  
> > +echo "huhu; $1"
> 
> is that huhu expected here ? ;-)

Just to check if someone actually reads my patches ;)

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