lib/configliere/commandline.rb
def help str=nil
      buf = []
      buf << usage
      buf << "\n"+@description if @description
      buf << param_lines
      buf << commands_help if respond_to?(:commands_help)
      buf << "\n\n"+str if str
      buf.flatten.compact.join("\n")+"\n"
    end
# The contents of the help message.
# Lists the usage as well as any defined parameters and environment variables
The contents of the help message.
Lists the usage as well as any defined parameters and environment variables
The contents of the help message . Lists the usage as well as any defined parameters and environment variables
def help str=nil
      buf = []
      buf << usage
      buf << "\n"+@description if @description
      buf << param_lines
      buf << commands_help if respond_to?(:commands_help)
      buf << "\n\n"+str if str
      buf.flatten.compact.join("\n")+"\n"
    end
def help str = nil buf = [ ] buf << usage buf << "\n" + @description if @description buf << param_lines buf << commands_help if respond_to? ( :commands_help ) buf << "\n\n" + str if str buf . flatten . compact . join ( "\n" ) + "\n" end
The contents of the help message.
The contents of the help message .
str