From 8deb57b040fd416305de6575890788aad4059d99 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 21 Feb 2013 22:15:26 +0100 Subject: options: fix --no-shuffle and --no-{ --no-shuffle accidentally did nothing after commit 57879a2. The options --no-{ and --no-} make no sense and shouldn't exist (wrong option type). --- core/parser-mpcmd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/parser-mpcmd.c') diff --git a/core/parser-mpcmd.c b/core/parser-mpcmd.c index fd22a1e054..223b487a2a 100644 --- a/core/parser-mpcmd.c +++ b/core/parser-mpcmd.c @@ -202,6 +202,10 @@ bool m_config_parse_mp_command_line(m_config_t *config, struct playlist *files, shuffle = parse_flag(p.arg, p.param); continue; } + if (bstrcmp0(p.arg, "no-shuffle") == 0) { + shuffle = false; + continue; + } if (bstrcmp0(p.arg, "playlist") == 0) { // append the playlist to the local args -- cgit v1.2.3