def global_option_proc(switches, &block)
      lambda do |value|
        unless active_command.nil?
          active_command.global_options << [Runner.switch_to_sym(switches.last), value]
        end
        yield value if block && !value.nil?
      end
    end
#
Returns a proc allowing for commands to inherit global options.
This functionality works whether a block is present for the global
option or not, so simple switches such as --verbose can be used
without a block, and used throughout all commands.