diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-02-03 18:56:30 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-02-03 18:56:30 +0100 |
commit | d99fbf4867db99b79385565f2b8ac9f164462240 (patch) | |
tree | effd31801afceeb5f4d3254977d6678ed9ec0bc6 /sql/mysql_install_db.cc | |
parent | 3cb88652ddc711954e9f18ad2799c57997c9fd1a (diff) | |
download | mariadb-git-d99fbf4867db99b79385565f2b8ac9f164462240.tar.gz |
MWL#55 : Add banner text to command line utilities
(Philip's review)
Diffstat (limited to 'sql/mysql_install_db.cc')
-rw-r--r-- | sql/mysql_install_db.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/mysql_install_db.cc b/sql/mysql_install_db.cc index 3f712b196d4..4541d48dcd1 100644 --- a/sql/mysql_install_db.cc +++ b/sql/mysql_install_db.cc @@ -13,6 +13,12 @@ #include <accctrl.h> #include <aclapi.h> +#define USAGETEXT \ +"mysql_install_db.exe Ver 1.42 for Windows\n" \
+"This software comes with ABSOLUTELY NO WARRANTY. This is free software,\n" \
+"and you are welcome to modify and redistribute it under the GPL v2 license\n" \ +"Usage: mysql_install_db.exe [OPTIONS]\n" \ +"OPTIONS:" extern "C" const char mysql_bootstrap_sql[]; @@ -69,6 +75,7 @@ get_one_option(int optid, DBUG_ENTER("get_one_option"); switch (optid) { case '?': + printf("%s\n", USAGETEXT); my_print_help(my_long_options); exit(0); break; |