From 775a48eb28ce6e505a25ec2744448f2dbfee294a Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Tue, 17 Nov 2015 14:40:52 -0800 Subject: [PATCH] --extra/-e is now --field/-f --- beetsplug/edit.py | 4 ++-- docs/plugins/edit.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/beetsplug/edit.py b/beetsplug/edit.py index 3cd014402..719fbd032 100644 --- a/beetsplug/edit.py +++ b/beetsplug/edit.py @@ -83,7 +83,7 @@ class EditPlugin(plugins.BeetsPlugin): help='interactively edit metadata' ) edit_command.parser.add_option( - '-e', '--extra', + '-f', '--field', metavar='FIELD', action='append', help='edit this field also', @@ -112,7 +112,7 @@ class EditPlugin(plugins.BeetsPlugin): if opts.all: fields = None else: - fields = self._get_fields(opts.album, opts.extra) + fields = self._get_fields(opts.album, opts.field) self.edit(opts.album, objs, fields) def _get_fields(self, album, extra): diff --git a/docs/plugins/edit.rst b/docs/plugins/edit.rst index 5f3083948..507d56950 100644 --- a/docs/plugins/edit.rst +++ b/docs/plugins/edit.rst @@ -19,7 +19,7 @@ Command-Line Options The ``edit`` command has these command-line options: - ``-a`` or ``--album``: Edit albums instead of individual items. -- ``-e FIELD`` or ``--extra FIELD``: Specify an additional field to edit +- ``-f FIELD`` or ``--field FIELD``: Specify an additional field to edit (in addition to the defaults set in the configuration). - ``--all``: Edit *all* available fields.