summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanuele Torre <torreemanuele6@gmail.com>2020-10-21 19:57:22 +0200
committerJan Ekström <jeebjp@gmail.com>2020-11-22 01:23:42 +0200
commit38275338ee3d52fa703067ad8375077b1e4850a2 (patch)
treed0efdd73a98a20bedb565d3bbf083af338a15536
parent9b5672ebedf22e1c0d3ba81791c64087e369ee02 (diff)
downloadmpv-38275338ee3d52fa703067ad8375077b1e4850a2.tar.bz2
mpv-38275338ee3d52fa703067ad8375077b1e4850a2.tar.xz
doc: split BNF definitions of <command> and <argument> in separate lines
Having them in the same line made it hard to read them in the man page since they are formatted in the same way and they look as though they are only one definition.
-rw-r--r--DOCS/man/input.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 64af021344..1bcae75809 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -160,8 +160,9 @@ Flat command syntax
This is the syntax used in input.conf, and referred to "input.conf syntax" in
a number of other places.
-``<command> ::= [<prefixes>] <command_name> (<argument>)*``
-``<argument> ::= (<string> | " <quoted_string> " )``
+|
+| ``<command> ::= [<prefixes>] <command_name> (<argument>)*``
+| ``<argument> ::= (<string> | " <quoted_string> ")``
``command_name`` is an unquoted string with the command name itself. See
`List of Input Commands`_ for a list.