On 04/29/2013 10:48 PM, Eric Blake wrote:
On 04/29/2013 11:27 AM, Ján Tomko wrote:
For long options, print:
* the option as specified by the user if it's unknown
* the cannoncial long option if its argument is not
s/cannonical/canonical/
...
a number (and should be)
And for missing
For long options, print:
* the option as specified by the user if it's unknown
* the cannoncial long option if its argument is not
a number (and should be)
And for missing arguments, print both the short and
the long option name.
(Doing only one of those would require either parsing
argv
On 04/29/2013 11:27 AM, Ján Tomko wrote:
For long options, print:
* the option as specified by the user if it's unknown
* the cannoncial long option if its argument is not
s/cannonical/canonical/
a number (and should be)
And for missing arguments, print both the short and
the long