From 5e3c65d32e36c91f70ec2534f7035098c3072eb1 Mon Sep 17 00:00:00 2001 From: Guilherme Danno Date: Sun, 17 Apr 2016 23:37:51 -0300 Subject: [PATCH] change option letter --- beetsplug/export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/export.py b/beetsplug/export.py index 379bb708e..b66b549c7 100644 --- a/beetsplug/export.py +++ b/beetsplug/export.py @@ -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)