Skip to content

Commit de19cb4

Browse files
committed
SERVER-6366 fix mongorestore --noOptionsRestore
1 parent cc8aa49 commit de19cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongo/tools/restore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class Restore : public BSONTool {
9696

9797
_drop = hasParam( "drop" );
9898
_keepIndexVersion = hasParam("keepIndexVersion");
99-
_restoreOptions = !hasParam("noOptionRestore");
99+
_restoreOptions = !hasParam("noOptionsRestore");
100100
_restoreIndexes = !hasParam("noIndexRestore");
101101
_w = getParam( "w" , 1 );
102102

0 commit comments

Comments
 (0)