def main()

in tools/build-image.py [0:0]


def main(argv):
    script = argv[0]
    try:
        opts, args = getopt.getopt(argv[1:], "", ["repository="])
    except getopt.GetoptError:
        usage(script)
    if args:
        usage(script)
    global repository
    for opt, arg in opts:
        if opt == "--repository":
            if not arg:
                usage(script)
        repository = arg
    build_images()