--toggle argument gives error

Forums:

Hi,
Running the --toggle argument gives an error:
$ mocp -t s

FATAL_ERROR: Tried to get wrong option 'Shuffle'!

The same holds for other variations of the toggle argument.
Related arguments (--on, --off) work fine.
The server is already running.
I'm running current Debian 8 (jessie).

$ mocp --version

This is : Music On Console
Version : 2.6-alpha2
Revision : 2849
Built : May 5 2016 22:29:18
Compiled with : OSS ALSA DEBUG
Running on : Linux 4.2.0-0.bpo.1-amd64 x86_64

Thanks.

Thanks for finding that. I've now committed to SVN r2850 which fixes this problem.

Thanks! Related to this is a difference in documentation & code between the man page saying "-t shuffle" (and "repeat" and "autonext") and the code now expecting "-t Shuffle". Personally I liked the older lowercase form.

I think these should be case insensitive and I have "made it so."

Committed as r2851.

Thank you!