linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #04175
[Bug 943657] [NEW] Better error message on startup / drizzled.cc
Public bug reported:
In drizzled/drizzled.cc several checks are made on startup and if they
fail then drizzled will abort with an error message.
For instance if I do
sbin/drizzled --foo
then I will get the error
Aborting:"Use --help to get a list of available options. unknown option
foo". Abort was called from drizzled/drizzled.cc:1369 in
init_variables_after_daemonizing()
This is a result of following code:
catch (po::unknown_option &err)
{
unireg_abort << "Use --help to get a list of available options. " << err.what();
The error message is very confusing, lacks spaces and capitalization. It would be much better if it was worded like this:
Aborting: Unknown option foo. Use --help to get a list of available options.
Abort was called from drizzled/drizzled.cc:1369 in init_variables_after_daemonizing()
** Affects: drizzle
Importance: Low
Status: Confirmed
** Tags: low-hanging-fruit
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/943657
Title:
Better error message on startup / drizzled.cc
Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
Confirmed
Bug description:
In drizzled/drizzled.cc several checks are made on startup and if they
fail then drizzled will abort with an error message.
For instance if I do
sbin/drizzled --foo
then I will get the error
Aborting:"Use --help to get a list of available options. unknown
option foo". Abort was called from drizzled/drizzled.cc:1369 in
init_variables_after_daemonizing()
This is a result of following code:
catch (po::unknown_option &err)
{
unireg_abort << "Use --help to get a list of available options. " << err.what();
The error message is very confusing, lacks spaces and capitalization. It would be much better if it was worded like this:
Aborting: Unknown option foo. Use --help to get a list of available options.
Abort was called from drizzled/drizzled.cc:1369 in init_variables_after_daemonizing()
To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/943657/+subscriptions
Follow ups
-
[Bug 943657] Re: Better error message on startup / drizzled.cc
From: Henrik Ingo, 2012-03-26
-
[Bug 943657] Re: Better error message on startup / drizzled.cc
From: Launchpad Bug Tracker, 2012-03-20
-
[Bug 943657] Re: Better error message on startup / drizzled.cc
From: Henrik Ingo, 2012-03-20
-
[Bug 943657] Re: Better error message on startup / drizzled.cc
From: mohit srivastava, 2012-03-18
-
[Bug 943657] Re: Better error message on startup / drizzled.cc
From: Launchpad Bug Tracker, 2012-03-17
-
[Bug 943657] Re: Better error message on startup / drizzled.cc
From: Daniel Nichter, 2012-03-17
-
[Bug 943657] Re: Better error message on startup / drizzled.cc
From: mohit srivastava, 2012-03-17
-
[Bug 943657] Re: Better error message on startup / drizzled.cc
From: Henrik Ingo, 2012-03-17
-
[Bug 943657] Re: Better error message on startup / drizzled.cc
From: mohit srivastava, 2012-03-17
-
[Bug 943657] [NEW] Better error message on startup / drizzled.cc
From: Henrik Ingo, 2012-02-29
References