aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/man.rb
diff options
context:
space:
mode:
authorMartin Afanasjew2015-12-09 05:40:26 +0100
committerMartin Afanasjew2015-12-13 22:18:26 +0100
commit4a89cfb1dc75a1fae98809868b26d98eda1f8c6f (patch)
tree62e95da2e3b91c1976285d47088d2da35842d373 /Library/Homebrew/cmd/man.rb
parent9789726fff9497855080026b6e1c2d07af5f6284 (diff)
downloadbrew-4a89cfb1dc75a1fae98809868b26d98eda1f8c6f.tar.bz2
man: remove broken --verbose functionality
Diffstat (limited to 'Library/Homebrew/cmd/man.rb')
-rw-r--r--Library/Homebrew/cmd/man.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/man.rb b/Library/Homebrew/cmd/man.rb
index 208c07d47..e8ac66fd0 100644
--- a/Library/Homebrew/cmd/man.rb
+++ b/Library/Homebrew/cmd/man.rb
@@ -25,15 +25,12 @@ module Homebrew
puts "Writing HTML fragments to #{DOC_PATH}"
puts "Writing manpages to #{TARGET_PATH}"
- target_file = nil
Dir["#{SOURCE_PATH}/*.md"].each do |source_file|
target_html = DOC_PATH/"#{File.basename(source_file, ".md")}.html"
safe_system "ronn --fragment --pipe --organization='Homebrew' --manual='brew' #{source_file} > #{target_html}"
target_man = TARGET_PATH/File.basename(source_file, ".md")
safe_system "ronn --roff --pipe --organization='Homebrew' --manual='brew' #{source_file} > #{target_man}"
end
-
- system "man", target_file if ARGV.flag? "--verbose"
end
end
end