cmd/gist-logs: use named DSL.
This commit is contained in:
parent
4fb649cad1
commit
a11eacc143
@ -28,7 +28,7 @@ module Homebrew
|
||||
"be accessible with its link."
|
||||
switch :verbose
|
||||
switch :debug
|
||||
max_named 1
|
||||
named :formula
|
||||
end
|
||||
end
|
||||
|
||||
@ -142,8 +142,6 @@ module Homebrew
|
||||
def gist_logs
|
||||
gist_logs_args.parse
|
||||
|
||||
raise FormulaUnspecifiedError if args.resolved_formulae.length != 1
|
||||
|
||||
Install.perform_preinstall_checks(all_fatal: true)
|
||||
Install.perform_build_from_source_checks(all_fatal: true)
|
||||
gistify_logs(args.resolved_formulae.first)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user