From 2060e047d2dbfa71e3cc3e42ed8b0bf0af0f3620 Mon Sep 17 00:00:00 2001 From: Alok Saboo Date: Sun, 19 Mar 2023 10:21:32 -0400 Subject: [PATCH] Update parser options --- beetsplug/embedart.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/beetsplug/embedart.py b/beetsplug/embedart.py index 6f46efb87..3ac1a1e25 100644 --- a/beetsplug/embedart.py +++ b/beetsplug/embedart.py @@ -76,16 +76,15 @@ class EmbedCoverArtPlugin(BeetsPlugin): def commands(self): # Embed command. - embed_cmd = ui.Subcommand( - 'embedart', help='embed image files into file metadata' - ) + embed_cmd = ui.Subcommand('embedart', + help='embed image files into file metadata') embed_cmd.parser.add_option('-f', '--file', metavar='PATH', help='the image file to embed') embed_cmd.parser.add_option("-y", "--yes", action="store_true", help="skip confirmation") - embed_cmd.parser.add_option('-u', '--url', metavar='URL', + embed_cmd.parser.add_option('-u', '--url', action="store_true", help='the URL of the image file to embed') maxwidth = self.config['maxwidth'].get(int)