-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
As pointed out in #289, the --edit flag doesn't take an argument. However, according to the documentation and according to the behavior of @commitlint/cli it should take an argument:
-e, --edit Read last commit from the specified file or fallbacks to ./.git/COMMIT_EDITMSG
Error message
Please paste the error message below:
commitlint -e .git/COMMIT_EDITMSG
error: unexpected argument '.git/COMMIT_EDITMSG' found
Usage: commitlint [OPTIONS]
For more information, try '--help'.
Expected behavior
The argument should be accepted + the contents of the file should be evaluated as commit message.
Version
# Run the following command
$ commitlint --version
commitlint-rs 0.1.11KeisukeYamashita
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working