summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/set_feature_compatibility_version_command.cpp')
-rw-r--r--src/mongo/db/commands/set_feature_compatibility_version_command.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mongo/db/commands/set_feature_compatibility_version_command.cpp b/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
index a9d4be0b58a..f979e30c64d 100644
--- a/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
+++ b/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
@@ -76,10 +76,13 @@ public:
}
virtual void help(std::stringstream& help) const {
- help << "Set the API version exposed by this node. If set to \"3.4\", then 3.6 "
- "features are disabled. If \"3.6\", then 3.6 features are enabled, and all nodes "
- "in the cluster must be version 3.6. See "
- "http://dochub.mongodb.org/core/3.6-feature-compatibility.";
+ help << "Set the API version exposed by this node. If set to \""
+ << FeatureCompatibilityVersionCommandParser::kVersion34
+ << "\", then 3.6 features are disabled. If \""
+ << FeatureCompatibilityVersionCommandParser::kVersion36
+ << "\", then 3.6 features are enabled, and all nodes in the cluster must be version "
+ "3.6. See "
+ << feature_compatibility_version::kDochubLink << ".";
}
Status checkAuthForCommand(Client* client,