From d1d6db25c0e68338b79735016e6079335ffea12b Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 25 Jul 2013 23:36:01 +0200 Subject: command: add pseudo-property that allows you to read global options The "options" pseudo-property allows reading global like this: show_text ${options/name} Where "name" maps to the option "--name". This allows retrieving option values that are not properties. Write-access is not possible: this is reserved for normal properties. Note: it is possible that we'll change this again, and don't require the "options/" prefix to access options. --- DOCS/man/en/input.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'DOCS/man/en') diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst index 804d37d976..9a7c9fc4a1 100644 --- a/DOCS/man/en/input.rst +++ b/DOCS/man/en/input.rst @@ -469,6 +469,7 @@ Name W Comment ``track-list`` list of audio/video/sub tracks, cur. entr. marked ``chapter-list`` list of chapters, current entry marked ``quvi-format`` x see ``--quvi-format`` +``options/name`` read-only access to value of option ``--name`` =============================== = ================================================== Property Expansion -- cgit v1.2.3