Skip to content

Commit

Permalink
refactor: Allow passing sections with -s CLI option (removed from c…
Browse files Browse the repository at this point in the history
…ommit convention option)
  • Loading branch information
pawamoy committed Feb 4, 2023
1 parent a24c1a4 commit a1ae778
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/git_changelog/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ def get_parser() -> argparse.ArgumentParser:
)
parser.add_argument(
"-c",
"-s",
"--style",
"--commit-style",
"--convention",
Expand All @@ -169,7 +168,7 @@ def get_parser() -> argparse.ArgumentParser:
help="The commit convention to match against. Default: basic.",
)
parser.add_argument(
"-S",
"-s",
"--sections",
nargs="+",
default=None,
Expand Down

0 comments on commit a1ae778

Please sign in to comment.