man: remove broken --verbose functionality
This commit is contained in:
		
							parent
							
								
									9789726fff
								
							
						
					
					
						commit
						4a89cfb1dc
					
				@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user