summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shell_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/shell_options.cpp')
-rw-r--r--src/mongo/shell/shell_options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/shell_options.cpp b/src/mongo/shell/shell_options.cpp
index 48b1d9fdf71..e23f89ff7dc 100644
--- a/src/mongo/shell/shell_options.cpp
+++ b/src/mongo/shell/shell_options.cpp
@@ -322,7 +322,7 @@ Status storeMongoShellOptions(const moe::Environment& params,
str::stream()
<< "Cannot use --setShellParameter to set '" << name << "' at startup"};
}
- auto status = param->setFromString(it.second);
+ auto status = param->setFromString(it.second, boost::none);
if (!status.isOK()) {
return {ErrorCodes::BadValue,
str::stream()