summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authorMagne Mahre <magne.mahre@sun.com>2009-11-03 10:22:22 +0100
committerMagne Mahre <magne.mahre@sun.com>2009-11-03 10:22:22 +0100
commit0dae88ca2af903668c7221f2447b7be42c3a78d9 (patch)
treebf8664f841ae4881e65c93fff86d57c250be39ee /client/mysqldump.c
parentc502279342b8f5fbca5baca7053226c0c5c40751 (diff)
downloadmariadb-git-0dae88ca2af903668c7221f2447b7be42c3a78d9.tar.gz
Bug#35224: mysqldump --help is very confusing
The presence of "--skip" parameters is obscure, when it should be obvious from the text. Now, for boolean options, when they're default to ON and the --skip is more useful parameter, then tell the user of its existence. Backported from 6.0-codebase, revid 2572.14.1
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index aa81a0e98bf..1066ad4703a 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -402,7 +402,7 @@ static struct my_option my_long_options[] =
(uchar**) &opt_routines, (uchar**) &opt_routines, 0, GET_BOOL,
NO_ARG, 0, 0, 0, 0, 0, 0},
{"set-charset", OPT_SET_CHARSET,
- "Add 'SET NAMES default_character_set' to the output. Enabled by default; suppress with --skip-set-charset.",
+ "Add 'SET NAMES default_character_set' to the output.",
(uchar**) &opt_set_charset, (uchar**) &opt_set_charset, 0, GET_BOOL, NO_ARG, 1,
0, 0, 0, 0, 0},
{"set-variable", 'O',