require 'optparse' parser = OptionParser.new parser.program_name = 'help_program_name.rb' parser.parse!