Re: quick question about --usage
"Papp Gyozo (VBuster)" <[email protected]>
| Newsgroups | gmane.comp.gnu.gengetopt.general |
|---|---|
| Message-ID | <[email protected]> |
Hmm...
Actually usage string cannot be by passed anyhow. Is it intended?
If I don't specify custom usage in .ggo, gengetopt will do it instead of me.
If I could specify an empty string, then _print_help() would print several empty lines:
if (strlen(cmdline_options_purpose) > 0)
printf("\n%s\n", cmdline_options_purpose);
printf("\n%s\n\n", cmdline_options_usage);
while (cmdline_options_help[i])
while purpose are really optional (see if).