Method: Mothership#unknown_command
- Defined in:
- lib/mothership/help/commands.rb
#unknown_command(name) ⇒ Object
22 23 24 25 26 |
# File 'lib/mothership/help/commands.rb', line 22 def unknown_command(name) $stderr.print "Unknown command '#{name.to_s.gsub("_", "-")}'. " $stderr.puts "See 'help' for available commands." exit_status 1 end |