diff options
author | Magne Mahre <magne.mahre@sun.com> | 2009-11-03 10:22:22 +0100 |
---|---|---|
committer | Magne Mahre <magne.mahre@sun.com> | 2009-11-03 10:22:22 +0100 |
commit | 0dae88ca2af903668c7221f2447b7be42c3a78d9 (patch) | |
tree | bf8664f841ae4881e65c93fff86d57c250be39ee /client/mysqlcheck.c | |
parent | c502279342b8f5fbca5baca7053226c0c5c40751 (diff) | |
download | mariadb-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/mysqlcheck.c')
-rw-r--r-- | client/mysqlcheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c index 1affea1d189..5c801eb6e26 100644 --- a/client/mysqlcheck.c +++ b/client/mysqlcheck.c @@ -128,7 +128,7 @@ static struct my_option my_long_options[] = "Faster than extended-check, but only finds 99.99 percent of all errors. Should be good enough for most cases.", 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, {"write-binlog", OPT_WRITE_BINLOG, - "Log ANALYZE, OPTIMIZE and REPAIR TABLE commands. Enabled by default; use --skip-write-binlog when commands should not be sent to replication slaves.", + "Log ANALYZE, OPTIMIZE and REPAIR TABLE commands. Use --skip-write-binlog when commands should not be sent to replication slaves.", (uchar**) &opt_write_binlog, (uchar**) &opt_write_binlog, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0}, {"optimize", 'o', "Optimize table.", 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, |