summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <Dao-Gang.Qu@sun.com>2009-10-28 15:04:06 +0800
committerunknown <Dao-Gang.Qu@sun.com>2009-10-28 15:04:06 +0800
commit30625323e969760d432eadab469796834d1ca111 (patch)
treed22997f155213ed5d0cda76832b5714d00ff595b /client
parenta5b5db32b4971b467f4c2fe98c68a4b25b3ab22a (diff)
downloadmariadb-git-30625323e969760d432eadab469796834d1ca111.tar.gz
Bug #34777 mysqlbinlog: --help output for --base64-output is hard to understand
Append the description of the 'decode-rows' value for --base64-output argument.
Diffstat (limited to 'client')
-rw-r--r--client/mysqlbinlog.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc
index 4652b27639b..57596967e00 100644
--- a/client/mysqlbinlog.cc
+++ b/client/mysqlbinlog.cc
@@ -992,11 +992,13 @@ static struct my_option my_long_options[] =
/* 'unspec' is not mentioned because it is just a placeholder. */
"Determine when the output statements should be base64-encoded BINLOG "
"statements: 'never' disables it and works only for binlogs without "
- "row-based events; 'auto' prints base64 only when necessary (i.e., "
- "for row-based events and format description events); 'always' prints "
- "base64 whenever possible. 'always' is for debugging only and should "
- "not be used in a production system. If this argument is not given, "
- "the default is 'auto'; if it is given with no argument, 'always' is used."
+ "row-based events; 'decode-rows' decodes row events into commented SQL "
+ "statements if the --verbose option is also given; 'auto' prints base64 "
+ "only when necessary (i.e., for row-based events and format description "
+ "events); 'always' prints base64 whenever possible. 'always' is for "
+ "debugging only and should not be used in a production system. If this "
+ "argument is not given, the default is 'auto'; if it is given with no "
+ "argument, 'always' is used."
,(uchar**) &opt_base64_output_mode_str,
(uchar**) &opt_base64_output_mode_str,
0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},