lib/yard/cli/list.rb in yard-0.8.2.1 vs lib/yard/cli/list.rb in yard-0.8.3
- old
+ new
@@ -9,11 +9,11 @@
#
# @param [Array<String>] args the list of arguments.
# @return [void]
def run(*args)
if args.include?('--help')
- puts "Usage: yard list [yardoc_options]"
- puts "Takes the same arguments as yardoc. See yardoc --help"
+ log.puts "Usage: yard list [yardoc_options]"
+ log.puts "Takes the same arguments as yardoc. See yardoc --help"
else
Yardoc.run('-c', '--list', *args)
end
end
end
\ No newline at end of file