Skip to content

Commit

Permalink
fix(cli): shows deprecated text for -s, --signoff option
Browse files Browse the repository at this point in the history
The deprecated text was not shown when `cz commit --help`
  • Loading branch information
marcosdotme committed May 30, 2024
1 parent 95eef05 commit 22d6d7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commitizen/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def __call__(
{
"name": ["-s", "--signoff"],
"action": "store_true",
"help": "sign off the commit",
"help": "sign off the commit (deprecated: use `cz commit -- -s` instead)",
},
{
"name": ["-a", "--all"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ options:
--write-message-to-file FILE_PATH
write message to file before committing (can be
combined with --dry-run)
-s, --signoff sign off the commit
-s, --signoff sign off the commit (deprecated: use `cz commit -- -s`
instead)
-a, --all Tell the command to automatically stage files that
have been modified and deleted, but new files you have
not told Git about are not affected.
Expand Down

0 comments on commit 22d6d7e

Please sign in to comment.