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)