def METHOD_NAME(argv=None):
    op = argparse.ArgumentParser()
    op.add_argument("-f", "--from", dest="f")
    op.add_argument("-t", "--to", dest="t")
    op.add_argument("-l", "--listversions", dest="listversions", action="store_true",
                    default=False,
                    help=_("list the available versions of kickstart syntax"))
    opts = op.parse_args(argv)
    if opts.listversions:
        for key in sorted(versionMap.keys()):
            print(key)
        return 0
    if not opts.f or not opts.t:
        print(_("You must specify two syntax versions."))
        return 1
    try:
        fromHandler = makeVersion(opts.f)
        toHandler = makeVersion(opts.t)
    except KickstartVersionError as exn:
        print(_("The version %s is not supported by pykickstart") % exn)
        return 1
    fromCmdSet = getCommandSet(fromHandler)
    toCmdSet = getCommandSet(toHandler)
    bothSet = fromCmdSet & toCmdSet
    print(_("The following commands were removed in %s:") % opts.t)
    removed = [cmd for cmd in bothSet if
               isinstance(toHandler.commands[cmd], RemovedCommand) and
               not isinstance(fromHandler.commands[cmd], RemovedCommand)]
    printList(sorted(removed + list(fromCmdSet - toCmdSet)))
    print(_("The following commands were deprecated in %s:") % opts.t)
    printList(sorted([cmd for cmd in bothSet if
                      isinstance(toHandler.commands[cmd], DeprecatedCommand) and
                      not isinstance(toHandler.commands[cmd], RemovedCommand)]))
    print(_("The following commands were added in %s:") % opts.t)
    printList(sorted(toCmdSet - fromCmdSet))
    for cmd in sorted(bothSet):
        newOptList = []
        deprecatedOptList = []
        removedOptList = []
        fromCmd = fromHandler.commands[cmd]
        toCmd = toHandler.commands[cmd]
        if not hasattr(fromCmd, "op") or not hasattr(toCmd, "op"):
            continue
        fromOpt = fromCmd.op._actions
        toOpt = toCmd.op._actions
        newOptList = getOptSet(toOpt) - getOptSet(fromOpt)
        removedOptList = getOptSet(fromOpt) - getOptSet(toOpt)
        deprecatedOptList = getOptSet([cmd for cmd in toOpt if cmd.deprecated])
        if len(newOptList) > 0:
            print(_("The following options were added to the %(command_name)s command in %(version)s:") % {"command_name": cmd, "version": opts.t})
            printList(sorted(newOptList))
        if len(deprecatedOptList) > 0:
            print(_("The following options were deprecated from the %(command_name)s command in %(version)s:") % {"command_name": cmd, "version": opts.t})
            printList(sorted(deprecatedOptList))
        if len(removedOptList) > 0:
            print(_("The following options were removed from the %(command_name)s command in %(version)s:") % {"command_name": cmd, "version": opts.t})
            printList(sorted(removedOptList))
    return 0