Skip to content

Commit

Permalink
Use store_true for mkchangelog --publish
Browse files Browse the repository at this point in the history
Otherwise, an argument is required for `--publish`.
  • Loading branch information
francoisfreitag committed Apr 29, 2024
1 parent 5ee2233 commit ec770fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mkchangelog
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,6 @@ def main(publish):

if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--publish")
parser.add_argument("--publish", action="store_true")
args = parser.parse_args()
main(args.publish)

0 comments on commit ec770fa

Please sign in to comment.