I was concerned that calling a command line argument multiple times (at least once per type in types_for) would cause performance issues, but it seems I was optimizing prematurely