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:
parent
edd9ef68f9
commit
2f00d80cc9
1 changed files with 1 additions and 1 deletions
|
@ -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/")
|
||||
|
|
Loading…
Reference in a new issue