diff options
author | jani@prima.mysql.com <> | 2000-11-20 21:22:02 +0200 |
---|---|---|
committer | jani@prima.mysql.com <> | 2000-11-20 21:22:02 +0200 |
commit | 9e8564d5bf2369eedd08b303bf78f8f1177df7eb (patch) | |
tree | 211571a6a007b153874884eab37471be755dd5b5 /client/mysql.cc | |
parent | b355c2e99315e8a5863ad70002e8541015b24d2a (diff) | |
download | mariadb-git-9e8564d5bf2369eedd08b303bf78f8f1177df7eb.tar.gz |
Added documentation.
Diffstat (limited to 'client/mysql.cc')
-rw-r--r-- | client/mysql.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index a855288ddb0..e5246aac6c5 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -109,7 +109,7 @@ static HashTable ht; enum enum_info_type { INFO_INFO,INFO_ERROR,INFO_RESULT}; typedef enum enum_info_type INFO_TYPE; -const char *VER="11.5"; +const char *VER="11.6"; static MYSQL mysql; /* The connection */ static bool info_flag=0,ignore_errors=0,wait_flag=0,quick=0, @@ -496,14 +496,12 @@ static void usage(int version) Give a variable an value. --help lists variables.\n\ -o, --one-database Only update the default database. This is useful\n\ for skipping updates to other database in the update\n\ - log.\n\ - --tee=... Append everything into outfile. See interactive help\n\ - (\\h) also. Does not work in batch mode.\n"); + log.\n"); #ifndef __WIN__ printf("\ --pager[=...] Output type. Default is your ENV variable PAGER.\n\ Valid pagers are less, more, cat [> filename], etc.\n\ - See interactive help (\\h) also. This options does\n\ + See interactive help (\\h) also. This option does\n\ not work in batch mode.\n"); #endif printf("\ @@ -524,7 +522,9 @@ static void usage(int version) #include "sslopt-usage.h" printf("\ -t --table Output in table format.\n\ - -T, --debug-info Print some debug info at exit.\n"); + -T, --debug-info Print some debug info at exit.\n\ + --tee=... Append everything into outfile. See interactive help\n\ + (\\h) also. Does not work in batch mode.\n"); #ifndef DONT_ALLOW_USER_CHANGE printf("\ -u, --user=# User for login if not current user.\n"); @@ -1760,7 +1760,7 @@ com_pager(String *buffer, char *line __attribute__((unused))) { if (!strlen(default_pager)) { - tee_fprintf(stdout, "Default pager wasn't available, using stdout.\n"); + tee_fprintf(stdout, "Default pager wasn't set, using stdout.\n"); opt_nopager=1; strmov(pager, "stdout"); PAGER= stdout; |