diff --git a/Library/Homebrew/rubocops/lines.rb b/Library/Homebrew/rubocops/lines.rb index 7b422bce35..97d9f42842 100644 --- a/Library/Homebrew/rubocops/lines.rb +++ b/Library/Homebrew/rubocops/lines.rb @@ -435,9 +435,9 @@ module RuboCop shell_parameter_format = if shell_parameter_stripped.empty? nil elsif shell_parameter_stripped == "--" - :flag + ":flag" elsif shell_parameter_stripped == "--shell=" - :arg + ":arg" else "\"#{shell_parameter_stripped}\"" end