From 09100c4a555b397b497bcba52ff13b88f6ba063d Mon Sep 17 00:00:00 2001 From: David Date: Sun, 5 Apr 2015 22:44:08 -0400 Subject: [PATCH] Update plugins.rst The class is called CommonOptionsParser, Option*s*. --- docs/dev/plugins.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dev/plugins.rst b/docs/dev/plugins.rst index aa11fe6af0..1899a7a1a5 100644 --- a/docs/dev/plugins.rst +++ b/docs/dev/plugins.rst @@ -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: