Include "1" in the list of "true-strings" on the command line

This commit is contained in:
Tamás Bálint Misius 2023-01-20 10:14:40 +01:00
parent 3cb6b26d1d
commit 6ea66f02de
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -728,6 +728,7 @@ int main(int argc, char * argv[])
str == "on" ||
str == "yes" ||
str == "y" ||
str == "1" ||
str == ""; // standalone "redirect" or "disable-bluescreen" or similar arguments
};
auto true_arg = [&true_string](Argument arg) {