Parent

Methods

Class/Module Index [+]

Quicksearch

RR::HelpRunner

Command runner to show help for other commands

Public Class Methods

run(args) click to toggle source

Runs the help command

  • args: array of command line parameters

# File lib/rubyrep/command_runner.rb, line 129
def self.run(args)
  if args[0] == 'help' or args[0] == '--help'
    $stderr.puts(Usage: #{$0} help [command]Shows the help for the specified command.)
    0
  else
    CommandRunner.run([args[0], '--help'])
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.