mirror of
https://github.com/beetbox/beets.git
synced 2026-02-22 07:14:24 +01:00
Fix the --key option in the duplicates plugin.
During a refactoring, the "dest='keys'" parameter was lost. This caused the option to not have any effect.
This commit is contained in:
parent
bed003f97b
commit
114a6f80da
2 changed files with 3 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class DuplicatesPlugin(BeetsPlugin):
|
|||
help=u'report duplicates only if all attributes are set',
|
||||
)
|
||||
self._command.parser.add_option(
|
||||
u'-k', u'--key',
|
||||
u'-k', u'--key', dest='keys',
|
||||
action='append', metavar='KEY',
|
||||
help=u'report duplicates based on keys (use multiple times)',
|
||||
)
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ Fixes:
|
|||
Python 3 on Windows with non-ASCII filenames. :bug:`2671`
|
||||
* :doc:`/plugins/absubmit`: Fix an occasional crash on Python 3 when the AB
|
||||
analysis tool produced non-ASCII metadata. :bug:`2673`
|
||||
* :doc:`/plugins/duplicates`: Fix the `--key` command line option, which was
|
||||
ignored.
|
||||
|
||||
For developers:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue