parser = argparse.ArgumentParser(description=
    'Lookup servers by ip address from host file')
parser.add_argument('host', nargs=1, help='ip address to lookup')
main_group = parser.add_mutually_exclusive_group()
python argparse with dependencies