diff options
author | wm4 <wm4@nowhere> | 2014-11-07 16:33:41 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-07 16:33:41 +0100 |
commit | 1a5650b62837308a0106a365a9fd26057defaf67 (patch) | |
tree | be676b64d58bb0b01ae1e83f209102013e8ad887 /DOCS | |
parent | e002ba74d340338e5eb00b08fac05e12000e0186 (diff) |
command: export the flag whether an option was set on commandline
Can be useful for certain scripts; I think someone requested this.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/input.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 651b93f7c3..21d0751447 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1438,6 +1438,18 @@ Property list access the local value, and the ``old`` value, which will be restored on end of playback, can not be read or written until end of playback.) +``option-flags/<name>`` + Minor additional per-option information. + + This has a number of sub-properties. Replace ``<name>`` with the name of + a top-level option. + + ``option-flags/<name>/set-from-commandline`` + + Return ``yes`` if the option was set from the mpv command line, + ``no`` otherwise. What this is set to if the option is e.g. changed + at runtime is left undefined (meaning it could change in the future). + ``property-list`` Return the list of top-level properties. |