Update plugins.rst

The class is called CommonOptionsParser, Option*s*.
This commit is contained in:
David 2015-04-05 22:44:08 -04:00
parent eba9392aa4
commit 09100c4a55

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: