Allow upper case switches

This commit is contained in:
Juhani Krekelä 2022-02-25 02:19:44 +02:00
parent 2ae741d705
commit df2cd4079f
1 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,8 @@ parse_arguments:
jne .not_mode_option
cmp byte [si + 1], 'h'
je .hard_mode
cmp byte [si + 1], 'H'
jne .not_hard_mode
.hard_mode:
@ -42,6 +44,8 @@ parse_arguments:
.not_hard_mode:
cmp byte [si + 1], 'u'
je .ultra_hard_mode
cmp byte [si + 1], 'U'
jne .not_ultra_hard_mode
.ultra_hard_mode:
@ -64,6 +68,8 @@ parse_arguments:
.not_ultra_hard_mode:
cmp byte [si + 1], 'l'
je print_license
cmp byte [si + 1], 'L'
je print_license
cmp byte [si + 2], '?'
je print_help