lib/td/command/td.rb in td-0.8.0 vs lib/td/command/td.rb in td-0.9.0
- old
+ new
@@ -18,10 +18,10 @@
define_method(:usage) do |errmsg|
require 'td/command/list'
puts op.to_s
puts ""
puts "commands:"
- puts TreasureData::Command::List.help(op.summary_indent)
+ TreasureData::Command::List.show_help(op.summary_indent)
puts ""
puts "Type 'td help COMMAND' for more information on a specific command."
if errmsg
puts "error: #{errmsg}"
exit 1