'check for conflicting options'

def validate_conflicts(self, vault_opts=False, runas_opts=False, fork_opts=False):

    op = self.options
    if vault_opts:
        if (op.ask_vault_pass and op.vault_password_files):
            self.parser.error('--ask-vault-pass    and    --vault-password-file    are    mutually    exclusive')
    if runas_opts:
        if (((op.su or op.su_user) and (op.sudo or op.sudo_user)) or ((op.su or op.su_user) and (op.become or op.become_user)) or ((op.sudo or op.sudo_user) and (op.become or op.become_user))):
            self.parser.error("Sudo    arguments    ('--sudo',    '--sudo-user',    and    '--ask-sudo-pass')    and    su    arguments    ('--su',    '--su-user',    and    '--ask-su-pass')    and    become    arguments    ('--become',    '--become-user',    and    '--ask-become-pass')    are    exclusive    of    each    other")
    if fork_opts:
        if (op.forks < 1):
            self.parser.error('The    number    of    processes    (--forks)    must    be    >=    1')
