diff --git a/distgit_bugzilla_sync/script.py b/distgit_bugzilla_sync/script.py index b496ea6..1787241 100644 --- a/distgit_bugzilla_sync/script.py +++ b/distgit_bugzilla_sync/script.py @@ -516,6 +516,10 @@ class DistgitBugzillaSync: '-p', '--project', dest='projects', nargs='+', help='Update one or more projects (provided as namespace/name), ' 'in all of its products') + parser.add_argument( + '--print-fas-names', action='store_true', default=False, + help="Print FAS names rather than email addresses in output, useful when pasting into " + "public fora") self.args = parser.parse_args() @@ -747,7 +751,8 @@ class DistgitBugzillaSync: owner=project["products_poc"][product], description=project['summary'], qacontact=None, - cclist=project['watchers'] + cclist=project['watchers'], + print_fas_names=self.args.print_fas_names, ) except ValueError as e: # A username didn't have a bugzilla address