Hello, I'm developing an application for some time and its backed by an elaborate logging library, which supports multiple levels of verbose output.
To implement this feature in gengetopt, I've used the following line: option "verbose" v "Enable verbose output." typestr="level" int default="0" optional This allows me to pass "-v 2" or "--verbose 2" style options to set desired verbosity, however I want to be able to pass "-v", "-vv" and similar styled flags for verbosity selection. I've dug version 2.23 documentation but failed to find/understand if it's possible, and how it's done. Any help will be greatly appreciated, Thanks in advance, Hakan
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Help-gengetopt mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gengetopt
