ensure command-line --keys is also respected

This commit is contained in:
Pedro Silva 2013-10-22 00:05:02 +02:00
parent 3d862d63d5
commit aad0449f56

View file

@ -86,6 +86,7 @@ class DuplicatesPlugin(BeetsPlugin):
def commands(self):
def _dup(lib, opts, args):
opts.keys = opts.keys.split(',')
self.config.set_args(opts)
fmt = self.config['format'].get()
count = self.config['count'].get()