lib/yard/cli/command_parser.rb in yard-0.8.2.1 vs lib/yard/cli/command_parser.rb in yard-0.8.3

- old
+ new

@@ -75,15 +75,15 @@ private def commands; self.class.commands end def list_commands - puts "Usage: yard <command> [options]" - puts - puts "Commands:" + log.puts "Usage: yard <command> [options]" + log.puts + log.puts "Commands:" commands.keys.sort_by {|k| k.to_s }.each do |command_name| command = commands[command_name].new - puts "%-8s %s" % [command_name, command.description] + log.puts "%-8s %s" % [command_name, command.description] end end end end end