diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/my_print_defaults.c | 5 | ||||
-rw-r--r-- | extra/perror.c | 5 | ||||
-rw-r--r-- | extra/resolve_stack_dump.c | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/extra/my_print_defaults.c b/extra/my_print_defaults.c index f8a7995432b..d97153bd5a8 100644 --- a/extra/my_print_defaults.c +++ b/extra/my_print_defaults.c @@ -56,6 +56,9 @@ static struct my_option my_long_options[] = }; + +#include <help_start.h> + static void usage(my_bool version) { printf("%s Ver 1.6 for %s at %s\n",my_progname,SYSTEM_TYPE, @@ -70,6 +73,8 @@ static void usage(my_bool version) printf("\nExample usage:\n%s --config-file=my client mysql\n", my_progname); } +#include <help_end.h> + static my_bool get_one_option(int optid, const struct my_option *opt __attribute__((unused)), diff --git a/extra/perror.c b/extra/perror.c index b4aeaf00671..37658bd81d9 100644 --- a/extra/perror.c +++ b/extra/perror.c @@ -101,12 +101,15 @@ static HA_ERRORS ha_errlist[]= }; +#include <help_start.h> + static void print_version(void) { printf("%s Ver %s, for %s (%s)\n",my_progname,PERROR_VERSION, SYSTEM_TYPE,MACHINE_TYPE); } + static void usage(void) { print_version(); @@ -118,6 +121,8 @@ static void usage(void) my_print_variables(my_long_options); } +#include <help_end.h> + static my_bool get_one_option(int optid, const struct my_option *opt __attribute__((unused)), diff --git a/extra/resolve_stack_dump.c b/extra/resolve_stack_dump.c index c54f17a186e..623ae3d4379 100644 --- a/extra/resolve_stack_dump.c +++ b/extra/resolve_stack_dump.c @@ -65,12 +65,16 @@ static struct my_option my_long_options[] = static void verify_sort(); + +#include <help_start.h> + static void print_version(void) { printf("%s Ver %s Distrib %s, for %s (%s)\n",my_progname,DUMP_VERSION, MYSQL_SERVER_VERSION,SYSTEM_TYPE,MACHINE_TYPE); } + static void usage() { print_version(); @@ -87,6 +91,7 @@ The numeric-dump-file should contain a numeric stack trace from mysqld.\n\ If the numeric-dump-file is not given, the stack trace is read from stdin.\n"); } +#include <help_end.h> static void die(const char* fmt, ...) |