class Bundler::Thor::Options

def peek

def peek
  return super unless @parsing_options
  result = super
  if result == OPTS_END
    shift
    @parsing_options = false
    super
  else
    result
  end
end