Skip to content
Snippets Groups Projects
Commit 3c04d14c authored by Jack Nagel's avatar Jack Nagel
Browse files

options: sort options consistently

parent adf80ba0
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ module Homebrew extend self
ff.each do |f|
next if f.build.empty?
if ARGV.include? '--compact'
puts f.build.as_flags * " "
puts f.build.as_flags.sort * " "
else
puts f.name if ff.length > 1
dump_options_for_formula f
......@@ -31,7 +31,7 @@ module Homebrew extend self
end
def dump_options_for_formula f
f.build.each do |opt|
f.build.sort_by(&:flag).each do |opt|
puts opt.flag
puts "\t"+opt.description
end
......
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