Get package choices from source of truth
This commit is contained in:
parent
c3b03b8437
commit
8d976fe182
@ -78,7 +78,7 @@ def main(sysargs=sys.argv[:]):
|
|||||||
formatter_class=_FancyFormatter)
|
formatter_class=_FancyFormatter)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'package',
|
'package',
|
||||||
type=str, default='cli', choices=['cli', 'altsrc'],
|
type=str, default='cli', choices=_WRITEFUNCS.keys(),
|
||||||
help='Package for which flag types will be generated'
|
help='Package for which flag types will be generated'
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
Loading…
Reference in New Issue
Block a user