Closed GoogleCodeExporter closed 8 years ago
Thanks for finding this. Although I'm not sure I understand why you've done
this bit:
while (1) {
- c = getopt_long_only(argc, argv, "Ad:f:no:p:t:vV:",
+ c = getopt_long_only(argc, argv, "Ad:f:no:p:t:vV::",
long_options, &option_index);
Also, I think the default verbosity should be 2, as 1 is the normal versbosity
without any -V parameter and getting the same verbosity would be confusing.
Original comment by graham.g...@gmail.com
on 11 Aug 2010 at 11:25
I should read the getopt man page before asking about a change.... "Two colons
mean an option takes an optional arg".
Original comment by graham.g...@gmail.com
on 11 Aug 2010 at 11:36
I've applied your change, but made the fallback verbosity=INFO (2) when no -V
parameter is given. Thanks.
Original comment by graham.g...@gmail.com
on 12 Aug 2010 at 12:41
Original issue reported on code.google.com by
david.ba...@grassvalley.com
on 11 Aug 2010 at 10:08Attachments: