aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/brew_bash_completion.sh
diff options
context:
space:
mode:
authorColin Dean2014-07-06 11:41:03 -0400
committerJack Nagel2015-06-25 19:32:23 -0400
commite12295849da2aac67cb7266f165a054a0a0ca5b7 (patch)
tree576178e7971747cd5ab1ba38f003d2bef57c70fb /Library/Contributions/brew_bash_completion.sh
parent4c7c17255a1c7d9d089616e8f7772cf5b3626763 (diff)
downloadbrew-e12295849da2aac67cb7266f165a054a0a0ca5b7.tar.bz2
Adds JSON output to `outdated` command
After some musing on brunophilipe/Cakebrew#71, I thought it would be useful to let Cakebrew and other tools grab the outdated formulae version information using a method more elegant than regex. Closes Homebrew/homebrew#30693. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Contributions/brew_bash_completion.sh')
-rw-r--r--Library/Contributions/brew_bash_completion.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh
index 9068ac0c7..75ecf2b13 100644
--- a/Library/Contributions/brew_bash_completion.sh
+++ b/Library/Contributions/brew_bash_completion.sh
@@ -395,7 +395,7 @@ _brew_outdated ()
local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in
--*)
- __brewcomp "--quiet"
+ __brewcomp "--quiet --json=v1"
return
;;
esac