summaryrefslogtreecommitdiff
path: root/src/mongo/tools/mongobridge_options.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-20 00:22:50 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-20 10:56:02 -0400
commit9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch)
tree3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/tools/mongobridge_options.h
parent01965cf52bce6976637ecb8f4a622aeb05ab256a (diff)
downloadmongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/tools/mongobridge_options.h')
-rw-r--r--src/mongo/tools/mongobridge_options.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/mongo/tools/mongobridge_options.h b/src/mongo/tools/mongobridge_options.h
index fb71ad5354f..a2e27619cec 100644
--- a/src/mongo/tools/mongobridge_options.h
+++ b/src/mongo/tools/mongobridge_options.h
@@ -36,35 +36,35 @@
namespace mongo {
- namespace optionenvironment {
- class OptionSection;
- class Environment;
- } // namespace optionenvironment
+namespace optionenvironment {
+class OptionSection;
+class Environment;
+} // namespace optionenvironment
- namespace moe = mongo::optionenvironment;
+namespace moe = mongo::optionenvironment;
- struct MongoBridgeGlobalParams {
- int port;
- int delay;
- int connectTimeoutSec;
- std::string destUri;
+struct MongoBridgeGlobalParams {
+ int port;
+ int delay;
+ int connectTimeoutSec;
+ std::string destUri;
- MongoBridgeGlobalParams() : port(0), delay(0), connectTimeoutSec(15) {}
- };
+ MongoBridgeGlobalParams() : port(0), delay(0), connectTimeoutSec(15) {}
+};
- extern MongoBridgeGlobalParams mongoBridgeGlobalParams;
+extern MongoBridgeGlobalParams mongoBridgeGlobalParams;
- Status addMongoBridgeOptions(moe::OptionSection* options);
+Status addMongoBridgeOptions(moe::OptionSection* options);
- void printMongoBridgeHelp(std::ostream* out);
+void printMongoBridgeHelp(std::ostream* out);
- /**
- * Handle options that should come before validation, such as "help".
- *
- * Returns false if an option was found that implies we should prematurely exit with success.
- */
- bool handlePreValidationMongoBridgeOptions(const moe::Environment& params);
+/**
+ * Handle options that should come before validation, such as "help".
+ *
+ * Returns false if an option was found that implies we should prematurely exit with success.
+ */
+bool handlePreValidationMongoBridgeOptions(const moe::Environment& params);
- Status storeMongoBridgeOptions(const moe::Environment& params,
- const std::vector<std::string>& args);
+Status storeMongoBridgeOptions(const moe::Environment& params,
+ const std::vector<std::string>& args);
}