diff options
author | Dianna Hohensee <dianna.hohensee@mongodb.com> | 2020-05-01 11:04:52 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-01 17:49:34 +0000 |
commit | 1f0d85a6dc99f1b68ff70d8fd1f87ad16ce5f570 (patch) | |
tree | 5883865ddcc7ffec4637b3ef507d62ff046717c6 /src/mongo/db/commands/compact.cpp | |
parent | e3e70da6c437933f58bd33f2c109b033d25163c5 (diff) | |
download | mongo-1f0d85a6dc99f1b68ff70d8fd1f87ad16ce5f570.tar.gz |
SERVER-43812 Remove reference to 'validate' option in the cmd help() function of compact
Diffstat (limited to 'src/mongo/db/commands/compact.cpp')
-rw-r--r-- | src/mongo/db/commands/compact.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/commands/compact.cpp b/src/mongo/db/commands/compact.cpp index c635c39fe05..82eff4fb4f1 100644 --- a/src/mongo/db/commands/compact.cpp +++ b/src/mongo/db/commands/compact.cpp @@ -76,10 +76,8 @@ public: return "compact collection\n" "warning: this operation locks the database and is slow. you can cancel with " "killOp()\n" - "{ compact : <collection_name>, [force:<bool>], [validate:<bool>] }\n" - " force - allows to run on a replica set primary\n" - " validate - check records are noncorrupt before adding to newly compacting " - "extents. slower but safer (defaults to true in this version)\n"; + "{ compact : <collection_name>, [force:<bool>] }\n" + " force - allows to run on a replica set primary\n"; } CompactCmd() : ErrmsgCommandDeprecated("compact") {} |