Skip to content

Commit

Permalink
report error when label or backend is not specified
Browse files Browse the repository at this point in the history
  • Loading branch information
vulpes2 committed Jul 23, 2024
1 parent 740545a commit 5bb0ff2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions brother_ql/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
@click.option(
"-b",
"--backend",
required=True,
type=click.Choice(available_backends),
envvar="BROTHER_QL_BACKEND",
)
Expand Down Expand Up @@ -163,6 +164,7 @@ def env(ctx, *args, **kwargs):
@click.option(
"-l",
"--label",
required=True,
type=click.Choice(label_sizes),
envvar="BROTHER_QL_LABEL",
help="The label (size, type - die-cut or endless). Run `brother_ql info labels` for a full list including ideal pixel dimensions.",
Expand Down

0 comments on commit 5bb0ff2

Please sign in to comment.