add cli -V
This commit is contained in:
parent
125389461f
commit
d2083632eb
@ -28,7 +28,7 @@ parser = ConfigParser()
|
|||||||
|
|
||||||
|
|
||||||
@click.group(context_settings={"help_option_names": ["-h", "--help"]})
|
@click.group(context_settings={"help_option_names": ["-h", "--help"]})
|
||||||
@click.version_option(__version__)
|
@click.version_option(__version__, '-V', '--version')
|
||||||
@click.option(
|
@click.option(
|
||||||
"-c", "--config", default="aerich.ini", show_default=True, help="Config file.",
|
"-c", "--config", default="aerich.ini", show_default=True, help="Config file.",
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user