From 4eae8513c55c17b074ce4e745e4b759300944474 Mon Sep 17 00:00:00 2001 From: Evangelos Paterakis Date: Wed, 28 Jun 2023 04:50:42 +0300 Subject: [PATCH] fix(cli): unknown flag name --- src/blahaj/option_parser.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blahaj/option_parser.cr b/src/blahaj/option_parser.cr index 4ab82f2..e7413cc 100644 --- a/src/blahaj/option_parser.cr +++ b/src/blahaj/option_parser.cr @@ -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