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