0
0
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:
Mike Dirolf 2009-08-07 10:07:57 -04:00
parent 6eee7dac84
commit 563fa6bb64

View File

@ -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. */