Commit e9fa4333 by Alexander Popov

Add more values for the normalization

parent e2d73214
...@@ -863,9 +863,9 @@ def normalize_cmdline_options(option, value): ...@@ -863,9 +863,9 @@ def normalize_cmdline_options(option, value):
return value return value
# Implement a limited part of the kstrtobool() logic # Implement a limited part of the kstrtobool() logic
if value in ('1', 'on', 'ON', 'y', 'Y'): if value in ('1', 'on', 'On', 'ON', 'y', 'Y', 'yes', 'Yes', 'YES'):
return '1' return '1'
if value in ('0', 'off', 'OFF', 'n', 'N'): if value in ('0', 'off', 'Off', 'OFF', 'n', 'N', 'no', 'No', 'NO'):
return '0' return '0'
# Preserve unique values # Preserve unique values
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment