# File lib/rake/application.rb, line 422
422:     def handle_options
423:       options.rakelib = ['rakelib']
424: 
425:       OptionParser.new do |opts|
426:         opts.banner = "rake [-f rakefile] {options} targets..."
427:         opts.separator ""
428:         opts.separator "Options are ..."
429: 
430:         opts.on_tail("-h", "--help", "-H", "Display this help message.") do
431:           puts opts
432:           exit
433:         end
434: 
435:         standard_rake_options.each { |args| opts.on(*args) }
436:         opts.environment('RAKEOPT')
437:       end.parse!
438: 
439:       # If class namespaces are requested, set the global options
440:       # according to the values in the options structure.
441:       if options.classic_namespace
442:         $show_tasks = options.show_tasks
443:         $show_prereqs = options.show_prereqs
444:         $trace = options.trace
445:         $dryrun = options.dryrun
446:         $silent = options.silent
447:       end
448:     end