Freeciv-3.1
|
Go to the source code of this file.
Functions | |
struct cmdhelp * | cmdhelp_new (const char *cmdname) |
void | cmdhelp_destroy (struct cmdhelp *pcmdhelp) |
void | cmdhelp_add (struct cmdhelp *pcmdhelp, const char *shortarg, const char *longarg, const char *helpstr,...) fc__attribute((__format__(__printf__ |
void void | cmdhelp_display (struct cmdhelp *pcmdhelp, bool sort, bool gui_options, bool report_bugs) |
void cmdhelp_add | ( | struct cmdhelp * | pcmdhelp, |
const char * | shortarg, | ||
const char * | longarg, | ||
const char * | helpstr, | ||
... | |||
) |
void cmdhelp_destroy | ( | struct cmdhelp * | pcmdhelp | ) |
Destroy a command help struct.
Definition at line 70 of file fc_cmdhelp.c.
Referenced by client_main(), fcmp_parse_cmdline(), main(), main(), re_parse_cmdline(), and rup_parse_cmdline().
void void cmdhelp_display | ( | struct cmdhelp * | pcmdhelp, |
bool | sort, | ||
bool | gui_options, | ||
bool | report_bugs | ||
) |
Display the help for the command.
Definition at line 104 of file fc_cmdhelp.c.
Referenced by client_main(), fcmp_parse_cmdline(), main(), main(), re_parse_cmdline(), and rup_parse_cmdline().
struct cmdhelp * cmdhelp_new | ( | const char * | cmdname | ) |
Create a new command help struct.
Definition at line 57 of file fc_cmdhelp.c.
Referenced by client_main(), fcmp_parse_cmdline(), main(), main(), re_parse_cmdline(), and rup_parse_cmdline().