#include "system.h"
#include "poptint.h"
Go to the source code of this file.
Functions | |
| void | displayArgs (poptContext con, enum poptCallbackReason foo, struct poptOption *key, const char *arg, void *data) |
| const char* const | getTableTranslationDomain (const struct poptOption *table) |
| const char* const | getArgDescrip (const struct poptOption *opt, const char *translation_domain) |
| char* | singleOptionDefaultValue (int lineLength, const struct poptOption *opt, const char *translation_domain) |
| void | singleOptionHelp (FILE *fp, int maxLeftCol, const struct poptOption *opt, const char *translation_domain) |
| int | maxArgWidth (const struct poptOption *opt, const char *translation_domain) |
| void | itemHelp (FILE *fp, poptItem items, int nitems, int left, const char *translation_domain) |
| Display popt alias and exec help. More... | |
| void | singleTableHelp (poptContext con, FILE *fp, const struct poptOption *table, int left, const char *translation_domain) |
| int | showHelpIntro (poptContext con, FILE *fp) |
| void | poptPrintHelp (poptContext con, FILE *fp, int flags) |
| int | singleOptionUsage (FILE *fp, int cursor, const struct poptOption *opt, const char *translation_domain) |
| int | itemUsage (FILE *fp, int cursor, poptItem item, int nitems, const char *translation_domain) |
| Display popt alias and exec usage. More... | |
| int | singleTableUsage (poptContext con, FILE *fp, int cursor, const struct poptOption *opt, const char *translation_domain) |
| int | showShortOptions (const struct poptOption *opt, FILE *fp, char *str) |
| Return concatenated short options for display. More... | |
| void | poptPrintUsage (poptContext con, FILE *fp, int flags) |
| void | poptSetOtherOptionHelp (poptContext con, const char *text) |
Variables | |
| struct poptOption | poptAliasOptions [] |
| Empty table marker to enable displaying popt alias/exec options. More... | |
| struct poptOption | poptHelpOptions [] |
| Auto help table options. More... | |
Definition in file popthelp.c.
|
|
Definition at line 18 of file popthelp.c. |
|
|
Definition at line 79 of file popthelp.c. Referenced by maxArgWidth(), singleOptionHelp(), and singleOptionUsage().
|
|
|
Definition at line 61 of file popthelp.c. Referenced by singleTableHelp().
|
|
|
Display popt alias and exec help.
Definition at line 369 of file popthelp.c. Referenced by singleTableHelp().
|
|
|
Display popt alias and exec usage.
Definition at line 518 of file popthelp.c. Referenced by poptPrintUsage().
|
|
|
Definition at line 325 of file popthelp.c. Referenced by poptPrintHelp().
|
|
|
Definition at line 432 of file popthelp.c. Referenced by poptPrintHelp(), and poptPrintUsage().
|
|
|
Return concatenated short options for display.
Definition at line 577 of file popthelp.c. Referenced by poptPrintUsage().
|
|
|
Definition at line 109 of file popthelp.c. Referenced by singleOptionHelp().
|
|
|
Definition at line 176 of file popthelp.c. Referenced by itemHelp(), and singleTableHelp().
|
|
|
Definition at line 471 of file popthelp.c. Referenced by itemUsage(), and singleTableUsage().
|
|
|
Definition at line 392 of file popthelp.c. Referenced by poptPrintHelp().
|
|
|
Definition at line 546 of file popthelp.c. Referenced by poptPrintUsage().
|
|
|
Initial value: {
POPT_TABLEEND
}
Definition at line 37 of file popthelp.c. |
|
|
Initial value: {
{ NULL, '\0', POPT_ARG_CALLBACK, (void *)&displayArgs, '\0', NULL, NULL },
{ "help", '?', 0, NULL, '?', "Show this help message" , NULL },
{ "usage", '\0', 0, NULL, 'u', "Display brief usage message" , NULL },
POPT_TABLEEND
}
Definition at line 45 of file popthelp.c. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001