61 _(
"Print a summary of the options"));
65 _(
"Load modpack list from given URL"));
69 _(
"Install modpacks to given directory hierarchy"));
73 _(
"Automatically install modpack from a given URL"));
78 _(
"Set debug log level (one of f,e,w,n,v,d, or "
79 "d:file1,min,max:...)"));
84 _(
"Set debug log level (one of f,e,w,n,v)"));
87 _(
"Print the version number"));
103 _(
"Invalid debug level \"%s\" specified with --debug "
129 log_error(
"Cannot determine freeciv storage directory");
void cmdhelp_destroy(struct cmdhelp *pcmdhelp)
void cmdhelp_display(struct cmdhelp *pcmdhelp, bool sort, bool gui_options, bool report_bugs)
struct cmdhelp * cmdhelp_new(const char *cmdname)
void cmdhelp_add(struct cmdhelp *pcmdhelp, const char *shortarg, const char *longarg, const char *helpstr,...)
bool is_option(const char *option_name, char *option)
char * get_option_malloc(const char *option_name, char **argv, int *i, int argc, bool gc)
void fc_fprintf(FILE *stream, const char *format,...) fc__attribute((__format__(__printf__
void log_init(const char *filename, enum log_level initial_level, log_callback_fn callback, log_prefix_fn prefix, int fatal_assertions)
bool log_parse_level_str(const char *level_str, enum log_level *ret_level)
#define log_error(message,...)
int fcmp_parse_cmdline(int argc, char *argv[])
char * freeciv_storage_dir(void)
const char * freeciv_name_version(void)