('-c', '--cache', { 'dest': 'cache', 'metavar': 'FILE',
'help': 'use FILE as a cache for file hashes' }),
('-f', '--files', { 'dest': 'files', 'metavar': 'FORMAT',
- 'type': 'choice', 'choices': FMTMAP.keys(),
+ 'type': 'choice', 'choices': list(FMTMAP.keys()),
'help': 'read files to report in the given FORMAT' }),
('-u', '--udiff', { 'action': 'store_true', 'dest': 'udiff',
'help': 'read diff from stdin, clear cache entries' }),