From 7084a180b89d44c9276a0e26458d095a91d2f74a Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Sun, 28 Apr 2024 14:43:05 +0200 Subject: [PATCH] Revert unintentional interface change The change occurred in be39218 in PR #22. See #27. --- src/labelle/cli/cli.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/labelle/cli/cli.py b/src/labelle/cli/cli.py index 09c8767a..8b4d1eda 100755 --- a/src/labelle/cli/cli.py +++ b/src/labelle/cli/cli.py @@ -123,8 +123,7 @@ def default( "--device", help=( "Select a particular device by filtering for a given substring " - "in the device's manufacturer, product or serial number. Call " - "with 'list' to list all available devices." + "in the device's manufacturer, product or serial number" ), rich_help_panel="Device Configuration", ), @@ -243,9 +242,6 @@ def default( # Neither --verbose flag nor the environment variable is set. set_not_verbose() - if device_pattern == ["list"]: - list_devices() - # read config file try: font_path = get_font_path(font=font, style=style)