--egress is boolean -- it should not take an argument.  Since everything uses argparse you can employ `action='store_true'` to make the code simpler if you wish.