[Toybox] About supporting long(--) option

Felix Janda felix.janda at posteo.de
Mon Apr 29 10:35:00 PDT 2013


> I know toybox supports only short option, so toybox cannot treat '--help'
> option.

Are you sure? Have you read

http://landley.net/toybox/code.html#lib_args

? (Search for "--longopts".)


Notice that toybox also has a help toy. You can use

toybox help command

to see the help text for "command".

> Is there special reason for not supporting long option?

That they are from GNU. It simplifies deleting files named "--help".^^

Felix

 1367256900.0


More information about the Toybox mailing list