Skip to content

Commit

Permalink
fix(cli): unknown flag name
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr committed Jun 28, 2023
1 parent 4d72899 commit 4eae851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blahaj/option_parser.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4eae851

Please sign in to comment.