1
0
Fork 0

Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk

This commit is contained in:
jsteemann 2016-03-16 09:59:05 +01:00
commit 228b5567fc
2 changed files with 8 additions and 2 deletions

View File

@ -86,12 +86,15 @@ ConsoleFeature::ConsoleFeature(application_features::ApplicationServer* server)
void ConsoleFeature::collectOptions(std::shared_ptr<ProgramOptions> options) {
LOG_TOPIC(TRACE, Logger::STARTUP) << name() << "::collectOptions";
options->addSection(Section("console", "Configure the console",
"console options", false, false));
options->addSection(
Section("", "Global configuration", "global options", false, false));
options->addOption("--quiet", "silent startup",
new BooleanParameter(&_quiet, false));
options->addSection(Section("console", "Configure the console",
"console options", false, false));
options->addOption("--console.colors", "enable color support",
new BooleanParameter(&_colors));

View File

@ -43,6 +43,9 @@ void LanguageFeature::collectOptions(
std::shared_ptr<options::ProgramOptions> options) {
LOG_TOPIC(TRACE, Logger::STARTUP) << name() << "::collectOptions";
options->addSection(
Section("", "Global configuration", "global options", false, false));
options->addHiddenOption("--default-language", "ISO-639 language code",
new StringParameter(&_language));
}