summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Pasette <dan@10gen.com>2014-02-23 12:21:46 -0800
committerDan Pasette <dan@mongodb.com>2014-02-25 07:05:50 -0800
commita4abdfcc602b944d9a08eeb5deadd7a2a813fecc (patch)
treef5ed7cdd7a5701f43988d3b4396956f7420759af /src
parent8bf16f9e54e61a6befa791a6378ffdd06ad35a5b (diff)
downloadmongo-a4abdfcc602b944d9a08eeb5deadd7a2a813fecc.tar.gz
SERVER-12851 correct help text for compact command
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/commands/compact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/compact.cpp b/src/mongo/db/commands/compact.cpp
index a528544f4eb..6107a53b44a 100644
--- a/src/mongo/db/commands/compact.cpp
+++ b/src/mongo/db/commands/compact.cpp
@@ -65,7 +65,7 @@ namespace mongo {
}
virtual void help( stringstream& help ) const {
help << "compact collection\n"
- "warning: this operation blocks the server and is slow. you can cancel with cancelOp()\n"
+ "warning: this operation locks the database and is slow. you can cancel with killOp()\n"
"{ compact : <collection_name>, [force:<bool>], [validate:<bool>],\n"
" [paddingFactor:<num>], [paddingBytes:<num>] }\n"
" force - allows to run on a replica set primary\n"