remove issues_url and nullcommand from help output

necessitated by Homebrew's switch to Ruby 2.x
Fixes #4728
Fixes #4726
This commit is contained in:
Roland Walker 2014-06-06 17:09:42 -04:00
parent ed9fc06978
commit 13f8a4d282

View file

@ -23,7 +23,7 @@ require 'cask/cli/update'
class Cask::CLI
ISSUES_URL = "https://github.com/caskroom/homebrew-cask/issues"
def self.commands
Cask::CLI.constants - ["NullCommand", "ISSUES_URL"]
Cask::CLI.constants - [:NullCommand, :ISSUES_URL, "NullCommand", "ISSUES_URL"]
end
def self.lookup_command(command_string)