Closed Ontonator closed 4 years ago
The command you are looking for is brew cask help
, not brew cask --help
:
-bash-5.0.16- /Users/miccal (33) [> brew cask help
Homebrew Cask provides a friendly CLI workflow for the administration
of macOS applications distributed as binaries.
Commands:
--cache display the file used to cache the Cask
audit verifies installability of Casks
cat dump raw source of the given Cask to the standard output
create creates the given Cask and opens it in an editor
doctor checks for configuration issues
edit edits the given Cask
fetch downloads remote application files to local cache
help print help strings for commands
home opens the homepage of the given Cask
info displays information about the given Cask
install installs the given Cask
list with no args, lists installed Casks; given installed Casks, lists staged files
outdated list the outdated installed Casks
reinstall reinstalls the given Cask
style checks Cask style using RuboCop
uninstall uninstalls the given Cask
upgrade upgrades all outdated casks
zap zaps all files associated with the given Cask
See also "man brew-cask"
Also see https://github.com/Homebrew/homebrew-cask/issues/78491
I am aware of that. However, brew cask --help
should display a more helpful message instead of running into an internal error. For reference, the output of brew cask --asdf
is:
Error: Unknown subcommand: --asdf
Commands:
--cache display the file used to cache the Cask
audit verifies installability of Casks
cat dump raw source of the given Cask to the standard output
create creates the given Cask and opens it in an editor
doctor checks for configuration issues
edit edits the given Cask
fetch downloads remote application files to local cache
help print help strings for commands
home opens the homepage of the given Cask
info displays information about the given Cask
install installs the given Cask
list with no args, lists installed Casks; given installed Casks, lists staged files
outdated list the outdated installed Casks
reinstall reinstalls the given Cask
style checks Cask style using RuboCop
uninstall uninstalls the given Cask
upgrade upgrades all outdated casks
zap zaps all files associated with the given Cask
See also "man brew-cask"
I agree this shouldn’t be an error, but it’s fixed by https://github.com/Homebrew/homebrew-cask/issues/78491 so no need for two issues.
General troubleshooting steps
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
brew cask --help
generates an internal error complaining abouthelp
being undefined, before exiting with an error code of 1.Command that failed
Output of command with
--force --verbose --debug
Output of
brew cask doctor
Output of
brew tap