summaryrefslogtreecommitdiff
path: root/src/mongo/s
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2019-02-12 22:14:59 +0000
committerSara Golemon <sara.golemon@mongodb.com>2019-02-14 23:19:17 +0000
commit9d402c82594ad179d2b177027aec462422a4b4fa (patch)
tree87712d5ea54c57701141ed0fe842bffc0081323a /src/mongo/s
parent814b1f8237db9ecb27dd0ffa96f11edd58bac73e (diff)
downloadmongo-9d402c82594ad179d2b177027aec462422a4b4fa.tar.gz
SERVER-39501 Migrate windows options to IDL
Diffstat (limited to 'src/mongo/s')
-rw-r--r--src/mongo/s/mongos_options.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/mongo/s/mongos_options.cpp b/src/mongo/s/mongos_options.cpp
index 3318c5fc42b..354d8f82bac 100644
--- a/src/mongo/s/mongos_options.cpp
+++ b/src/mongo/s/mongos_options.cpp
@@ -63,22 +63,7 @@ Status addMongosOptions(moe::OptionSection* options) {
return ret;
}
-#if defined(_WIN32)
- moe::OptionSection windows_scm_options("Windows Service Control Manager options");
-
- ret = addWindowsServerOptions(&windows_scm_options);
- if (!ret.isOK()) {
- return ret;
- }
-#endif
-
- options->addSection(general_options).transitional_ignore();
-
-#if defined(_WIN32)
- options->addSection(windows_scm_options).transitional_ignore();
-#endif
-
- return Status::OK();
+ return options->addSection(general_options);
}
void printMongosHelp(const moe::OptionSection& options) {