def validate_args(args):
    """Does sys.exit() if an invalid combination of args is specified.
    Otherwise returns None (implicitly)."""
    if not exists(args.yelpsoa_config_root):
        sys.exit(
            args.yelpsoa_config_root % "Error: %s doesn't exist."
        )
    if args.auto and not args.srvname:
        sys.exit(
            "Error: you can't use --auto without --service-name"
        )
dataset/ETHPy150Open Yelp/paasta/paasta_tools/cli/cmds/fsm.py/validate_args/swapped operands of `%`