From 22b3102fbe126be7f58e4d4a70214bf62d07bc09 Mon Sep 17 00:00:00 2001 From: alexbostock Date: Mon, 2 Jul 2018 10:32:02 +0100 Subject: [PATCH] Add version number to cask json option Old: $ brew cask info --json New: $ brew cask info --json-v1 --- Library/Homebrew/cask/lib/hbc/cli/info.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/lib/hbc/cli/info.rb b/Library/Homebrew/cask/lib/hbc/cli/info.rb index 97a2e3e49c..076d2f5a23 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/info.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/info.rb @@ -3,7 +3,7 @@ require "json" module Hbc class CLI class Info < AbstractCommand - option "--json", :json, false + option "--json-v1", :json, false def initialize(*) super