diff options
Diffstat (limited to 'src/mongo/shell/mongo_main.cpp')
| -rw-r--r-- | src/mongo/shell/mongo_main.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mongo/shell/mongo_main.cpp b/src/mongo/shell/mongo_main.cpp index 6d3b5f37244..b6cac96d526 100644 --- a/src/mongo/shell/mongo_main.cpp +++ b/src/mongo/shell/mongo_main.cpp @@ -116,14 +116,14 @@ const std::string kDefaultMongoURL = "mongodb://"s + kDefaultMongoHost + ":"s + // level. The server is responsible for rejecting usages of new features if its // featureCompatibilityVersion is lower. MONGO_INITIALIZER_WITH_PREREQUISITES(SetFeatureCompatibilityVersionLatest, - ("EndStartupOptionStorage")) + ("EndStartupOptionSetup")) // (Generic FCV reference): This FCV reference should exist across LTS binary versions. (InitializerContext* context) { mongo::serverGlobalParams.mutableFeatureCompatibility.setVersion( multiversion::GenericFCV::kLatest); } -MONGO_INITIALIZER_WITH_PREREQUISITES(WireSpec, ("EndStartupOptionHandling"))(InitializerContext*) { +MONGO_INITIALIZER_WITH_PREREQUISITES(WireSpec, ("EndStartupOptionSetup"))(InitializerContext*) { WireSpec::instance().initialize(WireSpec::Specification{}); } @@ -1005,6 +1005,12 @@ int mongo_main(int argc, char* argv[]) { true, false); + scope->exec("shellHelper( 'show', 'freeMonitoring' )", + "(freeMonitoring)", + false, + true, + false); + scope->exec("shellHelper( 'show', 'automationNotices' )", "(automationnotices)", false, |
