mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
add --no-fetch to 'pycalver show'
This commit is contained in:
parent
bf7dfdcc70
commit
5287875271
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ def _update_cfg_from_vcs(cfg: config.Config, fetch: bool) -> config.Config:
|
|||
|
||||
@cli.command()
|
||||
@click.option('-v', '--verbose' , count=True , help="Control log level. -vv for debug level.")
|
||||
@click.option('-f', "--fetch/--no-fetch", is_flag=True, default=True)
|
||||
@click.option('-f', "--fetch/--no-fetch", is_flag=True, default=True, help="Sync tags from remote origin.")
|
||||
def show(verbose: int = 0, fetch: bool = True) -> None:
|
||||
"""Show current version."""
|
||||
_init_logging(verbose=max(_VERBOSE, verbose))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue