[BusyBox] Re: busybox-cvs Digest, Vol 29, Issue 4

Vladimir N. Oleynik dzo at simtreas.ru
Tue Aug 2 15:03:42 UTC 2005


Paul,

>  > > +		/* there is no way for bb_getopt_ulflags() to
>  > > +		 * return us the argument string for long options
>  > > +		 * which don't have a short option equivalent.
>  > 
>  > Its False. Have way: using non printable short option.
> 
> yes, you and i talked about this before, and i remember your
> solution.  i consider it unacceptable to write programs which
> have hidden unexpected features on the command line.  if the
> option processing api changes, i'm happy to change the ls code to
> use it.

from fileutils-3.13:

static struct option const long_options[] = {
	....
	{"color", optional_argument, 0, 13},
	{NULL, 0, NULL, 0}
};



--w
vodz



More information about the busybox mailing list