diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb index 0a40137e3f..13c2e85904 100644 --- a/Library/Homebrew/cmd/deps.rb +++ b/Library/Homebrew/cmd/deps.rb @@ -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