diff options
author | Gregory Noma <gregory.noma@gmail.com> | 2018-06-04 16:13:21 -0400 |
---|---|---|
committer | Gregory Noma <gregory.noma@gmail.com> | 2018-06-05 11:31:04 -0400 |
commit | ae5d445da5519925188011bd8de827eedcb81475 (patch) | |
tree | a3ad2c747874b98029273b3564951c493486da62 /src/mongo/shell/shell_options.cpp | |
parent | 1888d91eb161f0ae4c4d2d6e225fcb931eadd2bc (diff) | |
download | mongo-ae5d445da5519925188011bd8de827eedcb81475.tar.gz |
SERVER-32083 Add mention of URIs in mongo --help
Diffstat (limited to 'src/mongo/shell/shell_options.cpp')
-rw-r--r-- | src/mongo/shell/shell_options.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/shell/shell_options.cpp b/src/mongo/shell/shell_options.cpp index 355ff059f01..9fdab05d541 100644 --- a/src/mongo/shell/shell_options.cpp +++ b/src/mongo/shell/shell_options.cpp @@ -245,6 +245,7 @@ std::string getMongoShellHelp(StringData name, const moe::OptionSection& options << " foo foo database on local machine\n" << " 192.168.0.5/foo foo database on 192.168.0.5 machine\n" << " 192.168.0.5:9999/foo foo database on 192.168.0.5 machine on port 9999\n" + << " mongodb://192.168.0.5:9999/foo connection string URI can also be used\n" << options.helpString() << "\n" << "file names: a list of files to run. files have to end in .js and will exit after " << "unless --shell is specified"; |