Fix mistaken &

I meant to verify that both a cmd and a help flag were received from the
shell
This commit is contained in:
L. E. Segovia 2017-10-12 11:20:04 -03:00
parent cc8e455911
commit 0998e16e81

View File

@ -44,7 +44,7 @@ begin
help_flag = true help_flag = true
elsif !cmd && !help_flag_list.include?(arg) elsif !cmd && !help_flag_list.include?(arg)
cmd = ARGV.delete_at(i) cmd = ARGV.delete_at(i)
elsif help_flag_list.include?(arg) & cmd elsif help_flag_list.include?(arg) && cmd
# cmd determined, and it needs help # cmd determined, and it needs help
help_flag = true help_flag = true
end end