mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
add support for -h
This commit is contained in:
parent
d025746695
commit
5a2f90bce3
1 changed files with 1 additions and 2 deletions
|
|
@ -246,9 +246,8 @@ def version_options(function: typ.Callable) -> typ.Callable:
|
|||
return decorated
|
||||
|
||||
|
||||
@click.group()
|
||||
@click.group(context_settings={"help_option_names": ["-h", "--help"]})
|
||||
@click.version_option(version="2022.1116")
|
||||
@click.help_option()
|
||||
@verbose_option
|
||||
def cli(verbose: int = 0) -> None:
|
||||
"""Automatically update version strings in plaintext files."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue