Fix plugins cli parameter ambiguity
This commit is contained in:
parent
685e9d500c
commit
ea3b45263c
2 changed files with 3 additions and 5 deletions
|
|
@ -933,7 +933,8 @@ void application::set_program_options(boost::program_options::options_descriptio
|
||||||
("enable-standby-votes-tracking", bpo::value<bool>()->implicit_value(true),
|
("enable-standby-votes-tracking", bpo::value<bool>()->implicit_value(true),
|
||||||
"Whether to enable tracking of votes of standby witnesses and committee members. "
|
"Whether to enable tracking of votes of standby witnesses and committee members. "
|
||||||
"Set it to true to provide accurate data to API clients, set to false for slightly better performance.")
|
"Set it to true to provide accurate data to API clients, set to false for slightly better performance.")
|
||||||
("plugins", bpo::value<string>(), "Space-separated list of plugins to activate")
|
("plugins", bpo::value<string>()->default_value("account_history accounts_list affiliate_stats bookie market_history witness"),
|
||||||
|
"Space-separated list of plugins to activate")
|
||||||
;
|
;
|
||||||
command_line_options.add(configuration_file_options);
|
command_line_options.add(configuration_file_options);
|
||||||
command_line_options.add_options()
|
command_line_options.add_options()
|
||||||
|
|
|
||||||
|
|
@ -71,10 +71,7 @@ int main(int argc, char** argv) {
|
||||||
("help,h", "Print this help message and exit.")
|
("help,h", "Print this help message and exit.")
|
||||||
("data-dir,d", bpo::value<boost::filesystem::path>()->default_value("witness_node_data_dir"),
|
("data-dir,d", bpo::value<boost::filesystem::path>()->default_value("witness_node_data_dir"),
|
||||||
"Directory containing databases, configuration file, etc.")
|
"Directory containing databases, configuration file, etc.")
|
||||||
("version,v", "Display version information")
|
("version,v", "Display version information");
|
||||||
("plugins", bpo::value<std::string>()
|
|
||||||
->default_value("witness account_history market_history accounts_list affiliate_stats bookie"),
|
|
||||||
"Space-separated list of plugins to activate");
|
|
||||||
|
|
||||||
bpo::variables_map options;
|
bpo::variables_map options;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue