beet convert -y should not need an argument

This commit is contained in:
Adrian Sampson 2014-09-24 08:01:06 -07:00
parent fc2c75ee9c
commit ee9e51d3cc
2 changed files with 3 additions and 1 deletions

View file

@ -341,7 +341,7 @@ class ConvertPlugin(BeetsPlugin):
help='set the destination directory')
cmd.parser.add_option('-f', '--format', action='store', dest='format',
help='set the destination directory')
cmd.parser.add_option('-y', '--yes', action='store', dest='yes',
cmd.parser.add_option('-y', '--yes', action='store_true', dest='yes',
help='do not ask for confirmation')
cmd.func = convert_func
return [cmd]

View file

@ -10,6 +10,8 @@ Fixes:
fails.
* :doc:`/plugins/mpdstats`: Fix an error on start (introduced in the previous
version). Thanks to Zach Denton.
* :doc:`/plugins/convert`: The ``--yes`` command-line flag no longer expects
an argument.
1.3.8 (September 17, 2014)
--------------------------