diff options
| author | Markus Reiter | 2017-03-16 09:00:57 +0100 |
|---|---|---|
| committer | Markus Reiter | 2017-03-16 09:00:57 +0100 |
| commit | 2c8544832eb75d2ce7a76ac178d1018c166d653a (patch) | |
| tree | e6b90567b683d9670766e543b9f9ab67a6b40475 /Library/Homebrew/cask/lib/hbc/cli | |
| parent | 0f35f4ca1e01d18824831727ad08e93bc3f9160b (diff) | |
| download | brew-2c8544832eb75d2ce7a76ac178d1018c166d653a.tar.bz2 | |
Add test for command help strings.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/base.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/base.rb b/Library/Homebrew/cask/lib/hbc/cli/base.rb index e218a47dd..3301cad91 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/base.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/base.rb @@ -14,7 +14,7 @@ module Hbc end def self.help - "No help available for the #{command_name} command" + nil end def self.needs_init? diff --git a/Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb b/Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb index dec3eaa87..60df4bc8c 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb @@ -23,6 +23,10 @@ module Hbc args.reject { |a| a.empty? || a.chars.first == "-" } end + def self.help + "audit all modified Casks in a given commit range" + end + def self.usage <<-EOS.undent Usage: brew cask _audit_modified_casks [options...] <commit range> |
