mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 11:32:30 +01:00
Update parser options
This commit is contained in:
parent
2d942ce722
commit
2060e047d2
1 changed files with 3 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue