diff options
author | unknown <jimw@mysql.com> | 2005-04-28 12:11:48 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-04-28 12:11:48 -0700 |
commit | d5094e1a6e82df8c4930a3cf1c683b45768e783e (patch) | |
tree | a391e993c80c4038f9e8cc0297bb19138002f404 /extra/my_print_defaults.c | |
parent | 745d52bb3da3afb018061b4e3ec34420a8475389 (diff) | |
download | mariadb-git-d5094e1a6e82df8c4930a3cf1c683b45768e783e.tar.gz |
Add default configuration files to my_print_defaults usage, and
add handling of configuration file in the Windows shared system
directory. (Bug #5354)
extra/my_print_defaults.c:
Print out list of default files that will be used.
include/my_sys.h:
Add new my_print_default_files() function.
mysys/default.c:
Increase MAX_DEFAULT_DIRS to handle shared Windows directory,
move the logic for handling the Windows (and OS/2) system directories
into init_default_directories(), and generalize handling of
configuration file extensions.
Diffstat (limited to 'extra/my_print_defaults.c')
-rw-r--r-- | extra/my_print_defaults.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/my_print_defaults.c b/extra/my_print_defaults.c index d5836cb0dc8..9cc24b4ae4e 100644 --- a/extra/my_print_defaults.c +++ b/extra/my_print_defaults.c @@ -68,6 +68,7 @@ static void usage(my_bool version) puts("Prints all arguments that is give to some program using the default files"); printf("Usage: %s [OPTIONS] groups\n", my_progname); my_print_help(my_long_options); + my_print_default_files(config_file); my_print_variables(my_long_options); printf("\nExample usage:\n%s --config-file=my client mysql\n", my_progname); } |