isoltest: add --accept-updates option

This commit is contained in:
Alex Beregszaszi
2021-03-15 14:31:01 +00:00
parent 86e1e4a2dd
commit 1c176cc1ee
3 changed files with 19 additions and 5 deletions
+1
View File
@@ -63,6 +63,7 @@ IsolTestOptions::IsolTestOptions(std::string* _editor):
("editor", po::value<std::string>(_editor)->default_value(editorPath()), "Path to editor for opening test files.")
("help", po::bool_switch(&showHelp), "Show this help screen.")
("no-color", po::bool_switch(&noColor), "Don't use colors.")
("accept-updates", po::bool_switch(&acceptUpdates), "Automatically accept expectation updates.")
("test,t", po::value<std::string>(&testFilter)->default_value("*/*"), "Filters which test units to include.");
}