diff options
Diffstat (limited to 'mpvcore/options.c')
-rw-r--r-- | mpvcore/options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mpvcore/options.c b/mpvcore/options.c index 4a3c067404..727a3313df 100644 --- a/mpvcore/options.c +++ b/mpvcore/options.c @@ -322,7 +322,6 @@ const m_option_t mp_opts[] = { // handled in command line parser (parser-mpcmd.c) {"playlist", NULL, CONF_TYPE_STRING, CONF_NOCFG | M_OPT_MIN, 1, 0, NULL}, - {"shuffle", NULL, CONF_TYPE_FLAG, CONF_NOCFG, 0, 0, NULL}, {"{", NULL, CONF_TYPE_STORE, CONF_NOCFG, 0, 0, NULL}, {"}", NULL, CONF_TYPE_STORE, CONF_NOCFG, 0, 0, NULL}, @@ -335,6 +334,8 @@ const m_option_t mp_opts[] = { // handled in mplayer.c (looks at the raw argv[]) {"leak-report", "", CONF_TYPE_STORE, CONF_GLOBAL | CONF_NOCFG }, + OPT_FLAG("shuffle", shuffle, CONF_GLOBAL | CONF_NOCFG), + // ------------------------- common options -------------------- OPT_FLAG("quiet", quiet, CONF_GLOBAL), {"really-quiet", &verbose, CONF_TYPE_STORE, CONF_GLOBAL|CONF_PRE_PARSE, 0, -10, NULL}, |