Skip to content

Commit

Permalink
refactor: Rename inplace variable to in_place
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Feb 3, 2023
1 parent fe1602b commit 7a271ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/git_changelog/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_parser() -> argparse.ArgumentParser:
help="Insert new entries (versions missing from changelog) in-place. "
"An output file must be specified. With custom templates, "
"you must pass two additional arguments: --version-regex and --marker-line. "
"When writing in-place, an 'inplace' variable "
"When writing in-place, an 'in_place' variable "
"will be injected in the Jinja context, "
"allowing to adapt the generated contents "
"(for example to skip changelog headers or footers).",
Expand Down
2 changes: 1 addition & 1 deletion src/git_changelog/templates/keepachangelog.md.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
{% endmacro -%}

{#- template -#}
{%- if not inplace -%}
{%- if not in_place -%}
# Changelog

All notable changes to this project will be documented in this file.
Expand Down

0 comments on commit 7a271ef

Please sign in to comment.