Main

def main():
    """ Main
    """
    args, otherthings = parse_known_args()

    if args.version:
        print_version()
        return 0

    verbosity = 0
    if args.verbose:
        verbosity = 1

    far = Far(verbosity=verbosity)

    if args.dry_run:
        far.dry_run(old=args.old)
    else:
        far.find_and_replace(old=args.old, new=args.new)