Method: VimGet::CommandManager#help

Defined in:
lib/vimget/command_manager.rb

#help(cmd = "") ⇒ Object

display special help informations for command



91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/vimget/command_manager.rb', line 91

def help(cmd="")
  if cmd.empty? 
    usage
  elsif cmd == "help"
    nil
  else
    command_obj = find_command(cmd)
    command_obj.show_help
  end
  
  exit 1
end