Skip to content

Commit

Permalink
Updated CLI doc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
RhetTbull committed Oct 17, 2023
1 parent 5856ef3 commit 6831735
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions locationator/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@


@click.group()
@click.option("--debug", is_flag=True)
@click.option("--port", default=0, type=int)
@click.option("--debug", is_flag=True, help="Enable debug mode")
@click.option(
"--port",
default=0,
type=int,
hint="Locationator server port. Defaults to port in Locationator plist config file.",
)
@click.pass_context
def cli(ctx: click.Context, debug: bool, port: int):
ctx.ensure_object(dict)
Expand Down

0 comments on commit 6831735

Please sign in to comment.