diff options
author | Dwight <dwight@10gen.com> | 2010-05-18 14:47:11 -0400 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2010-05-18 14:47:11 -0400 |
commit | 638e4bcd3c9309dc3114497c5454b8549563fdfe (patch) | |
tree | dd31e8051923431031af35dab0e6514a6bf841d0 /db/cloner.cpp | |
parent | 0630b1946ceb66714c97dc4d7037cf45f13223f2 (diff) | |
download | mongo-638e4bcd3c9309dc3114497c5454b8549563fdfe.tar.gz |
rs
Diffstat (limited to 'db/cloner.cpp')
-rw-r--r-- | db/cloner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/cloner.cpp b/db/cloner.cpp index 71a0dd7085e..d3a4dd419af 100644 --- a/db/cloner.cpp +++ b/db/cloner.cpp @@ -442,12 +442,12 @@ namespace mongo { virtual LockType locktype() const { return WRITE; } CmdCloneCollection() : Command("cloneCollection") { } virtual void help( stringstream &help ) const { - help << " example: { cloneCollection: <collection ns>, from: <hostname>, query: <query> }"; + help << "{ cloneCollection: <collection ns>, from: <hostname>, query: <query> }"; } virtual bool run(const string& dbname , BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result, bool fromRepl) { string fromhost = cmdObj.getStringField("from"); if ( fromhost.empty() ) { - errmsg = "missing from spec"; + errmsg = "missing 'from' parameter"; return false; } string collection = cmdObj.getStringField("cloneCollection"); |