Fix pidfile args in typer commands

This commit is contained in:
Lance Edgar 2024-05-29 07:27:22 -05:00
parent 3f46ee6a30
commit 3fde33ac84

View file

@ -90,7 +90,7 @@ def tempmon_client(
action: Annotated[
ServiceAction,
typer.Argument(help="Action to perform for the service.")] = ...,
pid_file: Annotated[
pidfile: Annotated[
Path,
typer.Option('--pidfile', '-p',
help="Path to PID file.")] = None,
@ -133,7 +133,7 @@ def tempmon_server(
action: Annotated[
ServiceAction,
typer.Argument(help="Action to perform for the service.")] = ...,
pid_file: Annotated[
pidfile: Annotated[
Path,
typer.Option('--pidfile', '-p',
help="Path to PID file.")] = None,