Skip to content
Snippets Groups Projects
Commit 25009f94 authored by Bo Anderson's avatar Bo Anderson
Browse files

cmd/list: remove ARGV usage

parent df16e9f2
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,7 @@ module Homebrew
def list_casks(args:)
cask_list = Cask::Cmd::List.new args.named
cask_list.one = ARGV.include? "-1"
cask_list.one = args.public_send(:'1?')
cask_list.versions = args.versions?
cask_list.full_name = args.full_name?
cask_list.run
......
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