lib/spring/client/help.rb in spring-0.0.9 vs lib/spring/client/help.rb in spring-0.0.10
- old
+ new
@@ -46,9 +46,11 @@
end
def description_for_command(command)
if command.respond_to?(:description)
command.description
+ elsif command.respond_to?(:exec_name)
+ "Runs the #{command.exec_name} command"
else
"No description given."
end
end