Allow upper case switches
This commit is contained in:
parent
2ae741d705
commit
df2cd4079f
|
@ -32,6 +32,8 @@ parse_arguments:
|
||||||
jne .not_mode_option
|
jne .not_mode_option
|
||||||
|
|
||||||
cmp byte [si + 1], 'h'
|
cmp byte [si + 1], 'h'
|
||||||
|
je .hard_mode
|
||||||
|
cmp byte [si + 1], 'H'
|
||||||
jne .not_hard_mode
|
jne .not_hard_mode
|
||||||
|
|
||||||
.hard_mode:
|
.hard_mode:
|
||||||
|
@ -42,6 +44,8 @@ parse_arguments:
|
||||||
|
|
||||||
.not_hard_mode:
|
.not_hard_mode:
|
||||||
cmp byte [si + 1], 'u'
|
cmp byte [si + 1], 'u'
|
||||||
|
je .ultra_hard_mode
|
||||||
|
cmp byte [si + 1], 'U'
|
||||||
jne .not_ultra_hard_mode
|
jne .not_ultra_hard_mode
|
||||||
|
|
||||||
.ultra_hard_mode:
|
.ultra_hard_mode:
|
||||||
|
@ -64,6 +68,8 @@ parse_arguments:
|
||||||
.not_ultra_hard_mode:
|
.not_ultra_hard_mode:
|
||||||
cmp byte [si + 1], 'l'
|
cmp byte [si + 1], 'l'
|
||||||
je print_license
|
je print_license
|
||||||
|
cmp byte [si + 1], 'L'
|
||||||
|
je print_license
|
||||||
|
|
||||||
cmp byte [si + 2], '?'
|
cmp byte [si + 2], '?'
|
||||||
je print_help
|
je print_help
|
||||||
|
|
Loading…
Reference in New Issue