summaryrefslogtreecommitdiff
path: root/src/mongo/db/server_options.cpp
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2019-02-08 18:18:58 +0000
committerSara Golemon <sara.golemon@mongodb.com>2019-02-16 20:29:38 +0000
commit406d3c7586126f7315ebca37f646a4c93f5f2a65 (patch)
treecc0fa698dfc42ea9b76e837268123b4032bae46b /src/mongo/db/server_options.cpp
parentdafbadabf9ba80a3a125945e20d11d4da5008bf2 (diff)
downloadmongo-406d3c7586126f7315ebca37f646a4c93f5f2a65.tar.gz
SERVER-39499 Migrate base server options to IDL
Diffstat (limited to 'src/mongo/db/server_options.cpp')
-rw-r--r--src/mongo/db/server_options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/server_options.cpp b/src/mongo/db/server_options.cpp
index bc65c0d9ed0..e854a3ebb06 100644
--- a/src/mongo/db/server_options.cpp
+++ b/src/mongo/db/server_options.cpp
@@ -41,4 +41,8 @@ namespace mongo {
*/
ServerGlobalParams serverGlobalParams;
+std::string ServerGlobalParams::getPortSettingHelpText() {
+ return str::stream() << "Specify port number - " << DefaultDBPort << " by default";
+}
+
} // namespace mongo