From e99ae17a80c64f5f0b758b6aab999fd7cb406dd3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 23 Nov 2013 21:35:03 +0100 Subject: options: don't prefix sub-options with "--" in help output Commit 0cb9227a added this to the option list help output, but it looks strange with sub-options. --- mpvcore/player/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mpvcore/player') diff --git a/mpvcore/player/main.c b/mpvcore/player/main.c index 81e724252d..528076bc57 100644 --- a/mpvcore/player/main.c +++ b/mpvcore/player/main.c @@ -316,6 +316,7 @@ static int mpv_main(int argc, char *argv[]) mpctx->opts = mpctx->mconfig->optstruct; mpctx->mconfig->includefunc = cfg_include; mpctx->mconfig->use_profiles = true; + mpctx->mconfig->is_toplevel = true; struct MPOpts *opts = mpctx->opts; -- cgit v1.2.3