From 10fc6958709b017ca1c7db5f2f6ef44a84c3b25d Mon Sep 17 00:00:00 2001 From: Dwight Date: Tue, 1 Sep 2009 16:03:23 -0400 Subject: small help text change --- db/dbcommands.cpp | 7 +++++-- s/dbgrid.vcproj | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/db/dbcommands.cpp b/db/dbcommands.cpp index 499834b1e2b..06f9103723f 100644 --- a/db/dbcommands.cpp +++ b/db/dbcommands.cpp @@ -908,8 +908,11 @@ namespace mongo { CmdDatasize() : Command( "datasize" ) {} virtual bool slaveOk() { return true; } virtual void help( stringstream &help ) const { - help << " example: { datasize:\"blog.posts\", keyPattern:{x:1}, min:{x:10}, max:{x:55} }\n" - "NOTE: This command may take awhile to run"; + help << + "\ndetermine data size for a set of data in a certain range" + "\nexample: { datasize:\"blog.posts\", keyPattern:{x:1}, min:{x:10}, max:{x:55} }" + "\nkeyPattern, min, and max parameters are optional." + "\nnot: This command may take a while to run"; } bool run(const char *dbname, BSONObj& jsobj, string& errmsg, BSONObjBuilder& result, bool fromRepl ){ const char *ns = jsobj.getStringField( "datasize" ); diff --git a/s/dbgrid.vcproj b/s/dbgrid.vcproj index a225b215e9b..82f56ce9126 100644 --- a/s/dbgrid.vcproj +++ b/s/dbgrid.vcproj @@ -333,6 +333,10 @@ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" > + + @@ -361,10 +365,6 @@ RelativePath=".\server.cpp" > - - -- cgit v1.2.1