ARGV: remove unused 'usage' method
Also remove related helper method `Homebrew.help_s`.
This commit is contained in:
parent
3503806e77
commit
c6536066dc
@ -58,10 +58,6 @@ module Homebrew
|
|||||||
exit 0
|
exit 0
|
||||||
end
|
end
|
||||||
|
|
||||||
def help_s
|
|
||||||
HOMEBREW_HELP
|
|
||||||
end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def help_for_command(cmd)
|
def help_for_command(cmd)
|
||||||
|
|||||||
@ -198,11 +198,6 @@ module HomebrewArgvExtension
|
|||||||
options_only.any? { |arg| arg.scan("-").size == 1 && arg.include?(char) }
|
options_only.any? { |arg| arg.scan("-").size == 1 && arg.include?(char) }
|
||||||
end
|
end
|
||||||
|
|
||||||
def usage
|
|
||||||
require "cmd/help"
|
|
||||||
Homebrew.help_s
|
|
||||||
end
|
|
||||||
|
|
||||||
def cc
|
def cc
|
||||||
value "cc"
|
value "cc"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user