1
0
Fork 0
mirror of https://github.com/Findus23/new-github-changelog-generator.git synced 2024-08-27 19:52:18 +02:00

make command required

This commit is contained in:
Lukas Winkler 2019-02-14 14:30:13 +01:00
parent edd9ef68f9
commit 2f00d80cc9

View file

@ -31,7 +31,7 @@ def initfile(globally: bool):
def main():
parser = argparse.ArgumentParser(description='Generate changelogs from closed GitHub issues and merged PRs.')
subparsers = parser.add_subparsers(dest="command")
subparsers = parser.add_subparsers(dest="command",required=True)
init = subparsers.add_parser("init")
init.add_argument("--global", dest="globally", action='store_true', help="store config file in ~/.config/")