Skip to content
Snippets Groups Projects
Commit a64e2835 authored by Vítor Galvão's avatar Vítor Galvão
Browse files

cask - internal_stanza: use cask_tokens_from(args)

parent e8f67eb1
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ module Hbc
quiet = args.include? "--quiet"
format = :to_yaml if args.include? "--yaml"
format = :inspect if args.include? "--inspect"
cask_tokens = args.reject { |arg| arg.chars.first == "-" }
cask_tokens = cask_tokens_from(args)
stanza = cask_tokens.shift.to_sym
cask_tokens = Hbc.all_tokens if cask_tokens.empty?
......
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