Skip to content
Snippets Groups Projects
Unverified Commit 7348bc0e authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #9357 from scpeters/revert_cmd_list_disabled

Only deprecate "brew list" without arguments
parents 24ebb832 432e762e
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,8 @@ module Homebrew
ls_args << "-t" if args.t?
if !$stdout.tty? && !args.formula?
odisabled "`brew list` to only list formulae", "`brew list --formula`"
odeprecated "`brew list` to only list formulae", "`brew list --formula`"
safe_system "ls", *ls_args, HOMEBREW_CELLAR
else
safe_system "ls", *ls_args, HOMEBREW_CELLAR
list_casks(args: args) unless args.formula?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment