# File lib/rails-installer.rb, line 654
  def display_help(error=nil)
    STDERR.puts error if error
    
    commands = Command.commands.keys.sort
    commands.each do |cmd|
      cmd_class = Command.commands[cmd]
      flag_help = cmd_class.flag_help_text.gsub(/APPNAME/,app_name)
      help = cmd_class.help_text.gsub(/APPNAME/,app_name)
      
      STDERR.puts "  #{app_name} #{cmd} DIRECTORY #{flag_help}"
      STDERR.puts "    #{help}"
    end
  end