summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/do_txn_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/do_txn_cmd.cpp')
-rw-r--r--src/mongo/db/commands/do_txn_cmd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/commands/do_txn_cmd.cpp b/src/mongo/db/commands/do_txn_cmd.cpp
index f695470f034..3193b5ba30d 100644
--- a/src/mongo/db/commands/do_txn_cmd.cpp
+++ b/src/mongo/db/commands/do_txn_cmd.cpp
@@ -139,9 +139,9 @@ public:
return true;
}
- void help(std::stringstream& help) const override {
- help << "internal (sharding)\n{ doTxn : [ ] , preCondition : [ { ns : ... , q : ... , "
- "res : ... } ] }";
+ std::string help() const override {
+ return "internal (sharding)\n{ doTxn : [ ] , preCondition : [ { ns : ... , q : ... , "
+ "res : ... } ] }";
}
Status checkAuthForOperation(OperationContext* opCtx,