fix(cli): unknown flag name

This commit is contained in:
Evangelos Paterakis 2023-06-28 04:50:42 +03:00
parent 4d72899b2d
commit 4eae8513c5
No known key found for this signature in database
GPG key ID: FE5185F095BFC8C9

View file

@ -53,7 +53,7 @@ module Blahaj
end
unless !down_flag.nil? && COLORS.has_key?(down_flag)
puts "Unknown flag/color \"#{down_flag}\".\nPlease pass \"--flags\" for a list of all available flags/colors.".colorize(:red)
puts "Unknown flag/color \"#{flag}\".\nPlease pass \"--flags\" for a list of all available flags/colors.".colorize(:red)
exit(1)
end