mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
use dbExecCommand instead of hardcoding executable name into help text
This commit is contained in:
parent
6eee7dac84
commit
563fa6bb64
@ -413,8 +413,8 @@ using namespace mongo;
|
||||
namespace po = boost::program_options;
|
||||
|
||||
void show_help_text(po::options_description options) {
|
||||
cout << "To run mongod with the default options use 'mongod run'." << endl << endl;
|
||||
cout << options << endl;
|
||||
cout << "To run with the default options use '" << dbExecCommand << " run'." << endl << endl
|
||||
<< options << endl;
|
||||
};
|
||||
|
||||
/* Return error string or "" if no errors. */
|
||||
|
Loading…
Reference in New Issue
Block a user