diff --git a/queue_services/entity-emailer/q_cli.py b/queue_services/entity-emailer/q_cli.py index 74bf30802..d1011877a 100755 --- a/queue_services/entity-emailer/q_cli.py +++ b/queue_services/entity-emailer/q_cli.py @@ -39,6 +39,7 @@ affiliation_type: Final = 'bc.registry.affiliation' dissolution_type: Final = 'bc.registry.dissolution' +bn: Final = 'businessNumber' async def run(loop, email_info): # pylint: disable=too-many-locals @@ -121,7 +122,7 @@ def subscription_options(): identifier = arg elif opt in ('-n', '--name'): name = arg - if not etype or (etype not in [affiliation_type, dissolution_type] and not all([fid, etype, option])): + if not etype or (etype not in [affiliation_type, dissolution_type, bn] and not all([fid, etype, option])): print('q_cli.py -f -t -o