diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2019-06-10 14:47:21 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2019-06-10 14:47:21 -0400 |
commit | 4ed6a26c13f3edb8187134be15252c87d42c3560 (patch) | |
tree | 7381ccd4a331c7e7734d0112fae5551bfa78f7ef /src/mongo/db/server_options.cpp | |
parent | 9b17e22bd79ca83e4e29a7ff876a2d3cea715636 (diff) | |
download | mongo-4ed6a26c13f3edb8187134be15252c87d42c3560.tar.gz |
SERVER-40928 mongocryptd --help output list incorrect default port
Diffstat (limited to 'src/mongo/db/server_options.cpp')
-rw-r--r-- | src/mongo/db/server_options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/server_options.cpp b/src/mongo/db/server_options.cpp index e854a3ebb06..24330e5c0bc 100644 --- a/src/mongo/db/server_options.cpp +++ b/src/mongo/db/server_options.cpp @@ -42,7 +42,7 @@ namespace mongo { ServerGlobalParams serverGlobalParams; std::string ServerGlobalParams::getPortSettingHelpText() { - return str::stream() << "Specify port number - " << DefaultDBPort << " by default"; + return str::stream() << "Specify port number - " << serverGlobalParams.port << " by default"; } } // namespace mongo |