Database: fix typo in command line argument

This is an API breaking change. Nevertheless, help text and
command-line parser were out of sync and the variant of the help-text
does make much more sense.
This commit is contained in:
Christian Dietrich
2020-11-24 14:09:51 +01:00
committed by Horst Schirmeier
parent 743e746e0f
commit 973716ff35

View File

@ -294,7 +294,7 @@ void Database::cmdline_setup() {
"-h/--hostname \tMYSQL Hostname (default: taken from ~/.my.cnf)"); "-h/--hostname \tMYSQL Hostname (default: taken from ~/.my.cnf)");
USERNAME = cmd.addOption("u", "username", Arg::Required, USERNAME = cmd.addOption("u", "username", Arg::Required,
"-u/--username \tMYSQL Username (default: taken from ~/.my.cnf, or your current user)"); "-u/--username \tMYSQL Username (default: taken from ~/.my.cnf, or your current user)");
DBDEFAULTS = cmd.addOption("", "database-option--file", Arg::Required, DBDEFAULTS = cmd.addOption("", "database-option-file", Arg::Required,
"--database-option-file \toverride MySQL ~/.my.cnf option file (prepend with './' for files in the CWD)\n"); "--database-option-file \toverride MySQL ~/.my.cnf option file (prepend with './' for files in the CWD)\n");
// should be called before any threads are spawned // should be called before any threads are spawned