summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorAnton Kindestam <antonki@kth.se>2018-06-02 12:53:58 +0200
committersfan5 <sfan5@live.de>2019-05-04 14:17:11 +0200
commit8261924db93eb436a9e1606d437f0fe64e56dc66 (patch)
treef842ea92e1d575d78f8f95925b2e81ae93ad7a0e /DOCS/man
parenta776628d88cb6dab677ba8977d54861d24571c69 (diff)
downloadmpv-8261924db93eb436a9e1606d437f0fe64e56dc66.tar.bz2
mpv-8261924db93eb436a9e1606d437f0fe64e56dc66.tar.xz
drm_common: Add proper help option to drm-mode
This was implemented by using OPT_STRING_VALIDATE for drm-mode, instead of OPT_INT. Using a string here also prepares for future additions to drm-mode that aim to allow specifying a mode by its resolution.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/vo.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index a735dbc059..0583eb6c43 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -479,13 +479,14 @@ Available video output drivers are:
``--drm-connector=[<gpu_number>.]<name>``
Select the connector to use (usually this is a monitor.) If ``<name>``
is empty or ``auto``, mpv renders the output on the first available
- connector. Use ``--drm-connector=help`` to get list of available
+ connector. Use ``--drm-connector=help`` to get a list of available
connectors. When using multiple graphic cards, use the ``<gpu_number>``
argument to disambiguate.
(default: empty)
``--drm-mode=<number>``
- Mode ID to use (resolution and frame rate).
+ Mode ID to use (resolution and frame rate). Use ``--drm-mode=help`` to
+ get a list of available modes for all active connectors.
(default: 0)
``--drm-atomic=<no|auto>``