Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions commitizen/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,10 @@ def __call__(
"help": "Export the changelog template into this file instead of rendering it",
},
*deepcopy(tpl_arguments),
{
"name": "--tag-format",
"help": "The format of the tag, wrap around simple quotes",
},
],
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ usage: cz changelog [-h] [--dry-run] [--file-name FILE_NAME]
[--start-rev START_REV] [--merge-prerelease]
[--version-scheme {pep440,semver,semver2}]
[--export-template EXPORT_TEMPLATE] [--template TEMPLATE]
[--extra EXTRA]
[--extra EXTRA] [--tag-format TAG_FORMAT]
[rev_range]

generate changelog (note that it will overwrite existing file)
Expand Down Expand Up @@ -37,3 +37,5 @@ options:
changelog template file name (relative to the current
working directory)
--extra, -e EXTRA a changelog extra variable (in the form 'key=value')
--tag-format TAG_FORMAT
The format of the tag, wrap around simple quotes