Skip to content

Commit

Permalink
Get package choices from source of truth
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballhat committed Jul 11, 2016
1 parent c3b03b8 commit 8d976fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-flag-types
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def main(sysargs=sys.argv[:]):
formatter_class=_FancyFormatter)
parser.add_argument(
'package',
type=str, default='cli', choices=['cli', 'altsrc'],
type=str, default='cli', choices=_WRITEFUNCS.keys(),
help='Package for which flag types will be generated'
)
parser.add_argument(
Expand Down

0 comments on commit 8d976fe

Please sign in to comment.