MCPcopy Create free account
hub / github.com/MariaDB/server / usage

Function usage

extra/perror.c:79–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78
79static void usage(void)
80{
81 print_version();
82 puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
83 printf("Print a description for a system error code or a MariaDB error code.\n");
84 printf("If you want to get the error for a negative error code, you should use\n-- before the first error code to tell perror that there was no more options.\n\n");
85 printf("Usage: %s [OPTIONS] [ERRORCODE [ERRORCODE...]]\n",my_progname);
86 my_print_help(my_long_options);
87 my_print_variables(my_long_options);
88}
89
90
91static my_bool

Callers 2

get_one_optionFunction · 0.70
get_optionsFunction · 0.70

Calls 3

my_print_helpFunction · 0.85
my_print_variablesFunction · 0.85
print_versionFunction · 0.70

Tested by

no test coverage detected