Merge pull request #1396 from multikatt/patch-1

Update plugins.rst
This commit is contained in:
Adrian Sampson 2015-04-05 22:06:09 -05:00
commit 1966b1c31e

View file

@ -87,11 +87,11 @@ The function should use any of the utility functions defined in ``beets.ui``.
Try running ``pydoc beets.ui`` to see what's available.
You can add command-line options to your new command using the ``parser`` member
of the ``Subcommand`` class, which is a ``CommonOptionParser`` instance. Just
of the ``Subcommand`` class, which is a ``CommonOptionsParser`` instance. Just
use it like you would a normal ``OptionParser`` in an independent script. Note
that it offers several methods to add common options: ``--album``, ``--path``
and ``--format``. This feature is versatile and extensively documented, try
``pydoc beets.ui.CommonOptionParser`` for more information.
``pydoc beets.ui.CommonOptionsParser`` for more information.
.. _plugin_events: