shflags
shflags copied to clipboard
Find way to support long flags on systems that don't have GNU getopt installed.
I love this tool and am using it enthusiastically. however, i am having a
problem in that I have a lot of flags with long names and they don't abbreviate
well. Are short flags required? Are there any workarounds that would extend the
number of short flags available?
Original issue reported on code.google.com by zimzaz.wfz on 10 Nov 2011 at 10:01
Better late than never.
Short flags are not required, BUT on OSX you need to install gnu-getopt to
avoid errors. The default getopt on OSX doesn't support not having short flags.
Original comment by [email protected] on 20 Dec 2012 at 8:09
Thanks! that is still helpful to know, as I was about to run out of short flags
(a-z,A-Z) ...
Original comment by [email protected] on 20 Dec 2012 at 8:15
pvanderdoes is correct. Unless one is using GNU getopt, short flags are
required.
I'm making this a low-priority feature request.
Original comment by [email protected] on 6 Jan 2013 at 4:37
- Changed title: Find way to support long flags on systems that don't have GNU getopt installed.
- Added labels: Priority-Low, Type-Enhancement
- Removed labels: Priority-Medium, Type-Defect