#include <common/main.h>
Go to the source code of this file.
Functions | |
void | help (const char *progname, void(*usagefunc)(void)) |
void | generic_argument (void(*usagefunc)(void)) |
void | bad_argument (void(*usagefunc)(void)) |
void | mutually_exclusive_options (int name1, int name2, void(*usagefunc)(void)) |
void | mutually_exclusive_options3 (int name1, int name2, int name3, void(*usagefunc)(void)) |
void | duplicate_option (void(*usagefunc)(void)) |
void | duplicate_option_by_name (int name, void(*usagefunc)(void)) |
void | option_needs_number (int name, void(*usagefunc)(void)) |
void | option_needs_string (int name, void(*usagefunc)(void)) |
void | option_needs_name (int name, void(*usagefunc)(void)) |
void | option_needs_file (int name, void(*usagefunc)(void)) |
void | option_needs_dir (int name, void(*usagefunc)(void)) |
void | option_needs_files (int name, void(*usagefunc)(void)) |
void | option_needs_url (int name, void(*usagefunc)(void)) |
void | option_needs_uuid (int name, void(*usagefunc)(void)) |
void | fatal_too_many_files (void) |
void | fatal_user_too_privileged (string_ty *name) |
void | fatal_user_too_privileged (const nstring &name) |
void | fatal_group_too_privileged (string_ty *name) |
void | fatal_group_too_privileged (const nstring &name) |
void | fatal_bad_project_name (string_ty *) |
void | fatal_project_name_too_long (string_ty *, int) |
void | fatal_date_unknown (const char *) |
void | fatal_project_alias_exists (string_ty *) |
void bad_argument | ( | void(*)(void) | usagefunc | ) |
void duplicate_option | ( | void(*)(void) | usagefunc | ) |
void duplicate_option_by_name | ( | int | name, | |
void(*)(void) | usagefunc | |||
) |
void fatal_bad_project_name | ( | string_ty * | ) |
void fatal_date_unknown | ( | const char * | ) |
void fatal_group_too_privileged | ( | const nstring & | name | ) |
void fatal_group_too_privileged | ( | string_ty * | name | ) |
void fatal_project_alias_exists | ( | string_ty * | ) |
void fatal_project_name_too_long | ( | string_ty * | , | |
int | ||||
) |
void fatal_too_many_files | ( | void | ) |
void fatal_user_too_privileged | ( | const nstring & | name | ) |
void fatal_user_too_privileged | ( | string_ty * | name | ) |
void generic_argument | ( | void(*)(void) | usagefunc | ) |
void help | ( | const char * | progname, | |
void(*)(void) | usagefunc | |||
) |
void mutually_exclusive_options | ( | int | name1, | |
int | name2, | |||
void(*)(void) | usagefunc | |||
) |
void mutually_exclusive_options3 | ( | int | name1, | |
int | name2, | |||
int | name3, | |||
void(*)(void) | usagefunc | |||
) |
void option_needs_dir | ( | int | name, | |
void(*)(void) | usagefunc | |||
) |
void option_needs_file | ( | int | name, | |
void(*)(void) | usagefunc | |||
) |
void option_needs_files | ( | int | name, | |
void(*)(void) | usagefunc | |||
) |
void option_needs_name | ( | int | name, | |
void(*)(void) | usagefunc | |||
) |
void option_needs_number | ( | int | name, | |
void(*)(void) | usagefunc | |||
) |
void option_needs_string | ( | int | name, | |
void(*)(void) | usagefunc | |||
) |
void option_needs_url | ( | int | name, | |
void(*)(void) | usagefunc | |||
) |
The option_need_url function is used to report a command line error to the user, complaining that the given option must be followed by a URL.
name | The option to complain about | |
usage | The usage function to exit via |
void option_needs_uuid | ( | int | name, | |
void(*)(void) | usagefunc | |||
) |