diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 00:22:50 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 10:56:02 -0400 |
commit | 9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch) | |
tree | 3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/db/server_options_helpers.h | |
parent | 01965cf52bce6976637ecb8f4a622aeb05ab256a (diff) | |
download | mongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz |
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/db/server_options_helpers.h')
-rw-r--r-- | src/mongo/db/server_options_helpers.h | 49 |
1 files changed, 24 insertions, 25 deletions
diff --git a/src/mongo/db/server_options_helpers.h b/src/mongo/db/server_options_helpers.h index ff12f4de3e2..f97ab00e795 100644 --- a/src/mongo/db/server_options_helpers.h +++ b/src/mongo/db/server_options_helpers.h @@ -34,37 +34,36 @@ 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; - Status addGeneralServerOptions(moe::OptionSection* options); +Status addGeneralServerOptions(moe::OptionSection* options); - Status addWindowsServerOptions(moe::OptionSection* options); +Status addWindowsServerOptions(moe::OptionSection* options); - Status addSSLServerOptions(moe::OptionSection* options); +Status addSSLServerOptions(moe::OptionSection* options); - /** - * Handle custom validation of server options that can not currently be done by using - * Constraints in the Environment. See the "validate" function in the Environment class for - * more details. - */ - Status validateServerOptions(const moe::Environment& params); +/** + * Handle custom validation of server options that can not currently be done by using + * Constraints in the Environment. See the "validate" function in the Environment class for + * more details. + */ +Status validateServerOptions(const moe::Environment& params); - /** - * Canonicalize server options for the given environment. - * - * For example, the options "objcheck", "noobjcheck", and "net.wireObjectCheck" should all be - * merged into "net.wireObjectCheck". - */ - Status canonicalizeServerOptions(moe::Environment* params); +/** + * Canonicalize server options for the given environment. + * + * For example, the options "objcheck", "noobjcheck", and "net.wireObjectCheck" should all be + * merged into "net.wireObjectCheck". + */ +Status canonicalizeServerOptions(moe::Environment* params); - Status storeServerOptions(const moe::Environment& params, - const std::vector<std::string>& args); +Status storeServerOptions(const moe::Environment& params, const std::vector<std::string>& args); - void printCommandLineOpts(); +void printCommandLineOpts(); -} // namespace mongo +} // namespace mongo |