code: def _require_host_parameter(args, to):
      
      if not args.host:
          sys.stderr.write("--host is required parameter to --%s\n" % to)
          sys.exit(1)
docs: Make sure, that user specified --host argument.