Lines Matching defs:con
10 static void displayArgs(poptContext con,
15 poptPrintHelp(con, stdout, 0);
17 poptPrintUsage(con, stdout, 0);
170 static int showHelpIntro(poptContext con, FILE * f) {
175 if (!(con->flags & POPT_CONTEXT_KEEP_FIRST)) {
176 fn = con->optionStack->argv[0];
185 void poptPrintHelp(poptContext con, FILE * f, /*@unused@*/ int flags) {
188 showHelpIntro(con, f);
189 if (con->otherHelp)
190 fprintf(f, " %s\n", con->otherHelp);
194 leftColWidth = maxArgWidth(con->options, NULL);
195 singleTableHelp(f, con->options, leftColWidth, NULL);
282 void poptPrintUsage(poptContext con, FILE * f, /*@unused@*/ int flags) {
285 cursor = showHelpIntro(con, f);
286 cursor += showShortOptions(con->options, f, NULL);
287 singleTableUsage(f, cursor, con->options, NULL);
289 if (con->otherHelp) {
290 cursor += strlen(con->otherHelp) + 1;
292 fprintf(f, " %s", con->otherHelp);
298 void poptSetOtherOptionHelp(poptContext con, const char * text) {
299 if (con->otherHelp) xfree(con->otherHelp);
300 con->otherHelp = xstrdup(text);