diff options
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb b/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb index 105e946d7..c54db8795 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb @@ -44,13 +44,15 @@ module Hbc :stage_only, :nested_container, :uninstall, - :postflight, - :uninstall_postflight, :preflight, + :postflight, + :uninstall_preflight, :uninstall_postflight, ] def self.run(*args) + raise ArgumentError, "No stanza given." if args.empty? + table = args.include? "--table" quiet = args.include? "--quiet" format = :to_yaml if args.include? "--yaml" |
