brew deps: Fix typo in --include-optional output.

This was missing its closing square bracket.
This commit is contained in:
Bryce Glover 2018-11-12 17:56:06 -05:00
parent 23da62471b
commit fc40e2fa40

View File

@ -130,7 +130,7 @@ module Homebrew
if ARGV.include?("--annotate")
str = "#{str} [build]" if dep.build?
str = "#{str} [test]" if dep.test?
str = "#{str} [optional" if dep.optional?
str = "#{str} [optional]" if dep.optional?
str = "#{str} [recommended]" if dep.recommended?
end