diff options
author | wm4 <wm4@nowhere> | 2012-09-13 17:59:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-09-18 21:08:20 +0200 |
commit | f5f0c66d1f42c687f3a1394a828c1f2e0ce8eae1 (patch) | |
tree | cf93a504684bf7f0c995656e27b875c4ecb5b128 /cfg-mplayer.h | |
parent | 09c5324314d941355523dd5e78842495877d5696 (diff) | |
download | mpv-f5f0c66d1f42c687f3a1394a828c1f2e0ce8eae1.tar.bz2 mpv-f5f0c66d1f42c687f3a1394a828c1f2e0ce8eae1.tar.xz |
options: rename noconfig to no-config, nocache to no-cache
This how it's supposed to be. The manpage has the correct names.
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 8278945c3d..304c60f194 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -332,14 +332,14 @@ const m_option_t common_opts[] = { #ifdef CONFIG_PRIORITY {"priority", &proc_priority, CONF_TYPE_STRING, 0, 0, 0, NULL}, #endif - OPT_CHOICE("noconfig", noconfig, CONF_GLOBAL | CONF_NOCFG | CONF_PRE_PARSE, + OPT_CHOICE("no-config", noconfig, CONF_GLOBAL | CONF_NOCFG | CONF_PRE_PARSE, ({"off", 0}, {"user", 1}, {"system", 2}, {"all", 3})), // ------------------------- stream options -------------------- #ifdef CONFIG_STREAM_CACHE OPT_INTRANGE("cache", stream_cache_size, 0, 32, 0x7fffffff, OPTDEF_INT(-1)), - OPT_FLAG_CONSTANTS("nocache", stream_cache_size, 0, -1, 0), + OPT_FLAG_CONSTANTS("no-cache", stream_cache_size, 0, -1, 0), OPT_FLOATRANGE("cache-min", stream_cache_min_percent, 0, 0, 99), OPT_FLOATRANGE("cache-seek-min", stream_cache_seek_min_percent, 0, 0, 99), |