'Checks that upload/download options are present.'

def _CheckRequiredLoadOptions(self):

    for option in ['filename']:
        if (getattr(self.options, option) is None):
            self.parser.error(("Option    '%s'    is    required." % option))
    if (not self.options.url):
        self.parser.error("You    must    have    google.appengine.ext.remote_api.handler    assigned    to    an    endpoint    in    app.yaml,    or    provide    the    url    of    the    handler    via    the    'url'    option.")
