From 973716ff35447474afa0f0af637a7f3ad3580f3b Mon Sep 17 00:00:00 2001 From: Christian Dietrich Date: Tue, 24 Nov 2020 14:09:51 +0100 Subject: [PATCH] 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. --- src/core/util/Database.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/util/Database.cc b/src/core/util/Database.cc index 96a6925c..50090865 100644 --- a/src/core/util/Database.cc +++ b/src/core/util/Database.cc @@ -294,7 +294,7 @@ void Database::cmdline_setup() { "-h/--hostname \tMYSQL Hostname (default: taken from ~/.my.cnf)"); USERNAME = cmd.addOption("u", "username", Arg::Required, "-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"); // should be called before any threads are spawned