beets/docs
Pedro Silva 7299ed24c6 Add vararg_callback utility function to beets.ui
Optparse doesn't support argparse nargs='+' style arguments.  This patch
adds a callback utility function that allows that idiom. The function is
taken from the page at
http://docs.python.org/2/library/optparse.html#callback-example-6-variable-arguments.

Here's an example of how to use it:

    from beets.ui import vararg_callback
    parser.add_option("-c", "--callback", dest="vararg_attr",
                      action="callback", callback=vararg_callback)
2013-10-22 18:11:24 +02:00
..
dev Add vararg_callback utility function to beets.ui 2013-10-22 18:11:24 +02:00
guides docs: reorg plugins section; add dev section 2013-09-24 20:33:46 -07:00
plugins add 'keys' option to allow duplicate matching on arbitrary attributes 2013-10-21 23:32:33 +02:00
reference id3v23 config option (fix #388) 2013-10-06 20:20:18 -07:00
changelog.rst Add vararg_callback utility function to beets.ui 2013-10-22 18:11:24 +02:00
conf.py version bump: 1.3.2 2013-10-12 19:43:58 -07:00
faq.rst removed duplicate 2013-10-17 23:39:59 +02:00
index.rst docs: reorg plugins section; add dev section 2013-09-24 20:33:46 -07:00
Makefile Sphinx documentation skeleton 2011-09-16 13:57:15 -07:00