Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CS-1535: Added method for toggling stdout/stderr in tools

  • Loading branch information...
commit 24e1f0b92e438f336a3d7acac4f341eaddd89af2 1 parent 8849484
Brandon Diamond authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 tools/tool.h
View
6 tools/tool.h
@@ -82,9 +82,13 @@ namespace mongo {
return _db + "." + _coll;
}
+ void useStandardOutput( bool mode ) {
+ _usesstdout = mode;
+ }
+
bool isMaster();
bool isMongos();
-
+
virtual void preSetup() {}
virtual int run() = 0;
Please sign in to comment.
Something went wrong with that request. Please try again.