Skip to content

Commit 7084a18

Browse files
committed
Revert unintentional interface change
The change occurred in be39218 in PR labelle-org#22. See labelle-org#27.
1 parent b8c1f1a commit 7084a18

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/labelle/cli/cli.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ def default(
123123
"--device",
124124
help=(
125125
"Select a particular device by filtering for a given substring "
126-
"in the device's manufacturer, product or serial number. Call "
127-
"with 'list' to list all available devices."
126+
"in the device's manufacturer, product or serial number"
128127
),
129128
rich_help_panel="Device Configuration",
130129
),
@@ -243,9 +242,6 @@ def default(
243242
# Neither --verbose flag nor the environment variable is set.
244243
set_not_verbose()
245244

246-
if device_pattern == ["list"]:
247-
list_devices()
248-
249245
# read config file
250246
try:
251247
font_path = get_font_path(font=font, style=style)

0 commit comments

Comments
 (0)