def METHOD_NAME():
    if len(sys.argv) < 3:
        usage()
    filename, cmd = sys.argv[1:3]
    cmd = 'cmd_' + cmd.replace('-', '_')
    if cmd not in globals():
        usage()
    qed = QED(open(filename, 'r+b'))
    try:
        globals()[cmd](qed, *sys.argv[3:])
    except TypeError as e:
        sys.stderr.write(globals()[cmd].__doc__ + '\n')
        sys.exit(1)