Skip to content

Commit 2f7984f

Browse files
authored
Merge pull request #30 from maresb/revert-unintentional-interface-change
Revert unintentional interface change
2 parents b8c1f1a + 7084a18 commit 2f7984f

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)