mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
change option letter
This commit is contained in:
parent
10acea4efd
commit
5e3c65d32e
1 changed files with 2 additions and 2 deletions
|
|
@ -74,14 +74,14 @@ class ExportPlugin(BeetsPlugin):
|
|||
help=u'comma separated list of keys to show',
|
||||
)
|
||||
cmd.parser.add_option(
|
||||
u'-p', u'--path',
|
||||
u'-o', u'--output',
|
||||
help=u'path for the output file. If not given, will print the data'
|
||||
)
|
||||
return [cmd]
|
||||
|
||||
def run(self, lib, opts, args):
|
||||
|
||||
file_path = opts.path
|
||||
file_path = opts.output
|
||||
file_format = self.config['default_format'].get(str)
|
||||
file_mode = 'a' if opts.append else 'w'
|
||||
format_options = self.config[file_format]['formatting'].get(dict)
|
||||
|
|
|
|||
Loading…
Reference in a new issue