On 03/19/14 05:00, Ashwini Sharma wrote: > Hi Rob, List, > > There are cases when the long options are of the format > abc-def. In current implementation FLAG_xxx macros are generated for > long options too. with __-__ sign in the macro, it will generate errors.
Oops. Yeah, that's a bug. > I am of the opinion that __-__ be converted to '_' for generating the > FLAG_xxx macros and be used in the command. Makes sense. Applied. (I note that only "bare longopts", with no corresponding short flag, get flag macros generated for them. I should update the documentation to mention this.) Thanks, Rob _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
