8000 added missing global section · lethalbrains/arangodb@abc7d6b · GitHub
[go: up one dir, main page]

Skip to content

Commit abc7d6b

Browse files
committed
added missing global section
1 parent 6204de9 commit abc7d6b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

lib/ApplicationFeatures/ConsoleFeature.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,15 @@ ConsoleFeature::ConsoleFeature(application_features::ApplicationServer* server)
8686
void ConsoleFeature::collectOptions(std::shared_ptr<ProgramOptions> options) {
8787
LOG_TOPIC(TRACE, Logger::STARTUP) << name() << "::collectOptions";
8888

89-
options->addSection(Section("console", "Configure the console",
90-
"console options", false, false));
89+
options->addSection(
90+
Section("", "Global configuration", "global options", false, false));
9191

9292
options->addOption("--quiet", "silent startup",
9393
new BooleanParameter(&_quiet, false));
9494

95+
options->addSection(Section("console", "Configure the console",
96+
"console options", false, false));
97+
9598
options->addOption("--console.colors", "enable color support",
9699
new BooleanParameter(&_colors));
97100

lib/ApplicationFeatures/LanguageFeature.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ void LanguageFeature::collectOptions(
4343
std::shared_ptr<options::ProgramOptions> options) {
4444
LOG_TOPIC(TRACE, Logger::STARTUP) << name() << "::collectOptions";
4545

46+
options->addSection(
47+
Section("", "Global configuration", "global options", false, false));
48+
4649
options->addHiddenOption("--default-language", "ISO-639 language code",
4750
new StringParameter(&_language));
4851
}

0 commit comments

Comments
 (0)
0