On 03/14/2016 10:25 PM, Eric Pruitt wrote: > On Mon, Mar 14, 2016 at 08:12:17PM -0600, Anthony J. Bentley wrote: >> Boruch Baum writes: >>> 1] I want to request that dmenu produce 'correct' output for its >>> --version command. Currently, the ouput is identical to --help ouput and >>> gives no version information at all. >> >> --help and --version give the same output because they're both >> invalid options. > > With the possible exception of ubase, do any of the suckless projects > support (GNU?) long options? A lot of suckless projects aim to be > portable and use a modified version of plan9's arg.h to parse arguments > which means there's no support for long options. > > Eric >
@Anthony and @Eric: Well, that settles things, sort of, if you mean that dmenu / suckless by design doesn't want any option that prints usage and version information without generating an error exit code. I was asking for the design change. Whether the change would support long options or just -h/-v wasn't my point, just my illustration. -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
