Sha256: ff629dbb7fc00ff9168c840cba1c0398a181123ac518929ee69b2e1856acbff9

Contents?: true

Size: 288 Bytes

Versions: 18

Compression:

Stored size: 288 Bytes

Contents

module TreasureData
module Command

  def help(op)
    cmd = op.cmd_parse

    op = List.get_option(cmd)
    unless op
      $stderr.puts "'#{cmd}' is not a td command. Run '#{$prog}' to show the list."
      List.show_guess(cmd)
      exit 1
    end

    puts op.message
  end

end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
td-0.10.4 lib/td/command/help.rb
td-0.10.3 lib/td/command/help.rb
td-0.10.2 lib/td/command/help.rb
td-0.10.1 lib/td/command/help.rb
td-0.10.0 lib/td/command/help.rb
td-0.9.12 lib/td/command/help.rb
td-0.9.11 lib/td/command/help.rb
td-0.9.10 lib/td/command/help.rb
td-0.9.9 lib/td/command/help.rb
td-0.9.8 lib/td/command/help.rb
td-0.9.7 lib/td/command/help.rb
td-0.9.6 lib/td/command/help.rb
td-0.9.5 lib/td/command/help.rb
td-0.9.4 lib/td/command/help.rb
td-0.9.3 lib/td/command/help.rb
td-0.9.2 lib/td/command/help.rb
td-0.9.1 lib/td/command/help.rb
td-0.9.0 lib/td/command/help.rb