Add version number to cask json option

Old:
$ brew cask info --json <formula>

New:
$ brew cask info --json-v1  <formula>
This commit is contained in:
alexbostock 2018-07-02 10:32:02 +01:00
parent 0bfc6bd490
commit 22b3102fbe

View File

@ -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