# File lib/clamp/help.rb, line 39 def help(invocation_path) help = Builder.new help.add_usage(invocation_path, usage_descriptions) help.add_description(description) if has_parameters? help.add_list("Parameters", parameters) end if has_subcommands? help.add_list("Subcommands", recognised_subcommands) end help.add_list("Options", recognised_options) help.string end