From 2aebf3e482a7b9ee7bc4e46e3c72b3a20278f5b4 Mon Sep 17 00:00:00 2001 From: Douglas Christman Date: Thu, 8 Dec 2016 12:08:04 -0500 Subject: manpage: replace `-vo` with `--vo` --- DOCS/man/options.rst | 4 ++-- player/video.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 84d417fb1d..3f7eb35b15 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2325,7 +2325,7 @@ Window ensure it does not cause security problems (e.g. make sure to use full paths if "." is in your path like on Windows). It also only works when playing video (i.e. not with ``--no-video`` but works with - ``-vo=null``). + ``--vo=null``). This can be "misused" to disable screensavers that do not support the proper X API (see also ``--stop-screensaver``). If you think this is too @@ -3817,7 +3817,7 @@ OpenGL renderer options ----------------------- The following video options are currently all specific to ``--vo=opengl`` and -``-vo=opengl-cb`` only, which are the only VOs that implement them. +``--vo=opengl-cb`` only, which are the only VOs that implement them. ``--scale=`` diff --git a/player/video.c b/player/video.c index 847a5b56d9..03dd5aeabe 100644 --- a/player/video.c +++ b/player/video.c @@ -473,7 +473,7 @@ int reinit_video_chain_src(struct MPContext *mpctx, struct lavfi_pad *src) mpctx->video_out = init_best_video_out(mpctx->global, &ex); if (!mpctx->video_out) { MP_FATAL(mpctx, "Error opening/initializing " - "the selected video_out (-vo) device.\n"); + "the selected video_out (--vo) device.\n"); mpctx->error_playing = MPV_ERROR_VO_INIT_FAILED; goto err_out; } -- cgit v1.2.3