forked from conventional-changelog/standard-version
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When invalid arguments are passed on the command line the program still runs successfully, ignoring any arguments it doesn't know about. I discovered this by accident when running it for the first time (ever): npx commit-and-tag-version --dr-run
(note the misspelled word "dry").
Current behavior
Running npx commit-and-tag-version --dryrun
results in the changelog being generated, version bumped, committed, and tagged.
Expected behavior
The program should exit with an error, potentially displaying the help
Environment
commit-and-tag-version
version(s): 11.2.0- Node/npm version: Node 16.19.0, npm 9.3.0
- OS: PopOS 22.04
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working