summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_split_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_split_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_split_cmd.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/s/commands/cluster_split_cmd.cpp b/src/mongo/s/commands/cluster_split_cmd.cpp
index 44f8388cfa1..1b709cf9f95 100644
--- a/src/mongo/s/commands/cluster_split_cmd.cpp
+++ b/src/mongo/s/commands/cluster_split_cmd.cpp
@@ -100,12 +100,12 @@ public:
return false;
}
- void help(std::stringstream& help) const override {
- help << " example: - split the shard that contains give key\n"
- << " { split : 'alleyinsider.blog.posts' , find : { ts : 1 } }\n"
- << " example: - split the shard that contains the key with this as the middle\n"
- << " { split : 'alleyinsider.blog.posts' , middle : { ts : 1 } }\n"
- << " NOTE: this does not move the chunks, it just creates a logical separation.";
+ std::string help() const override {
+ return " example: - split the shard that contains give key\n"
+ " { split : 'alleyinsider.blog.posts' , find : { ts : 1 } }\n"
+ " example: - split the shard that contains the key with this as the middle\n"
+ " { split : 'alleyinsider.blog.posts' , middle : { ts : 1 } }\n"
+ " NOTE: this does not move the chunks, it just creates a logical separation.";
}
Status checkAuthForCommand(Client* client,