diff --git a/src/Win32_Interop/Win32_CommandLine.cpp b/src/Win32_Interop/Win32_CommandLine.cpp index 160df5e0..95985f4d 100644 --- a/src/Win32_Interop/Win32_CommandLine.cpp +++ b/src/Win32_Interop/Win32_CommandLine.cpp @@ -302,7 +302,8 @@ public: { "known-sentinel", &fp4 }, // sentinel known-sentinel [runid] { "announce-ip", &fp1 }, // sentinel announce-ip { "announce-port", &fp1 }, // sentinel announce-port - { "myid", &fp1 } // sentinel myid + { "myid", &fp1 }, // sentinel myid + { "deny-scripts-reconfig", &fp1 } // sentinel deny-scripts-reconfig [yes/no] }; } @@ -313,7 +314,7 @@ public: throw invalid_argument(err.str()); } if (subCommands.find(argv[argStartIndex + 1]) == subCommands.end()) { - err << "Could not find sentinal subcommand " << argv[argStartIndex + 1]; + err << "Could not find sentinel subcommand " << argv[argStartIndex + 1]; throw invalid_argument(err.str()); } @@ -336,7 +337,7 @@ public: } string subcommand = tokens.at(startIndex + 1); if (subCommands.find(subcommand) == subCommands.end()) { - err << "Could not find sentinal subcommand " << subcommand; + err << "Could not find sentinel subcommand " << subcommand; throw invalid_argument(err.str()); }