diff options
Diffstat (limited to 'src/mongo/db/repl/resync.cpp')
-rw-r--r-- | src/mongo/db/repl/resync.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/resync.cpp b/src/mongo/db/repl/resync.cpp index 3c946eea040..ccc566d63c3 100644 --- a/src/mongo/db/repl/resync.cpp +++ b/src/mongo/db/repl/resync.cpp @@ -66,8 +66,8 @@ public: out->push_back(Privilege(ResourcePattern::forClusterResource(), actions)); } - void help(stringstream& h) const { - h << "resync (from scratch) a stale slave or replica set secondary node.\n"; + std::string help() const override { + return "resync (from scratch) a stale slave or replica set secondary node.\n"; } CmdResync() : ErrmsgCommandDeprecated(kResyncFieldName) {} |