Fix pidfile args in typer commands
This commit is contained in:
parent
3f46ee6a30
commit
3fde33ac84
|
@ -90,7 +90,7 @@ def tempmon_client(
|
||||||
action: Annotated[
|
action: Annotated[
|
||||||
ServiceAction,
|
ServiceAction,
|
||||||
typer.Argument(help="Action to perform for the service.")] = ...,
|
typer.Argument(help="Action to perform for the service.")] = ...,
|
||||||
pid_file: Annotated[
|
pidfile: Annotated[
|
||||||
Path,
|
Path,
|
||||||
typer.Option('--pidfile', '-p',
|
typer.Option('--pidfile', '-p',
|
||||||
help="Path to PID file.")] = None,
|
help="Path to PID file.")] = None,
|
||||||
|
@ -133,7 +133,7 @@ def tempmon_server(
|
||||||
action: Annotated[
|
action: Annotated[
|
||||||
ServiceAction,
|
ServiceAction,
|
||||||
typer.Argument(help="Action to perform for the service.")] = ...,
|
typer.Argument(help="Action to perform for the service.")] = ...,
|
||||||
pid_file: Annotated[
|
pidfile: Annotated[
|
||||||
Path,
|
Path,
|
||||||
typer.Option('--pidfile', '-p',
|
typer.Option('--pidfile', '-p',
|
||||||
help="Path to PID file.")] = None,
|
help="Path to PID file.")] = None,
|
||||||
|
|
Loading…
Reference in a new issue