Skip to content

Commit

Permalink
Enable -V for version
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreWohnsland committed Feb 28, 2023
1 parent 62f5578 commit fdb2982
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/programs/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def main(
ctx: typer.Context,
calibration: bool = typer.Option(False, "--calibration", "-c", help="Run the calibration program."),
debug: bool = typer.Option(False, "--debug", "-d", help="Using debug instead of normal Endpoints."),
version: Optional[bool] = typer.Option(None, "--version", callback=version_callback, help="Show current version.")
version: Optional[bool] = typer.Option(
None, "--version", "-V", callback=version_callback, help="Show current version.")
):
"""
Starts the cocktail program. Optional, can start the calibration program.
Expand Down

0 comments on commit fdb2982

Please sign in to comment.