input: slightly improve --input-cmdlist output

Output argument names, whether varargs are used, and indicate optional
arguments correctly (instead of only half of them).
This commit is contained in:
wm4
2018-05-17 20:34:31 +02:00
parent 332907e1d7
commit 0a7a4779a3
2 changed files with 7 additions and 6 deletions

View File

@@ -138,7 +138,7 @@ Like with array commands, quoting and escaping is inherently not needed in the
normal case.
The name of each command is defined in each command description in the
`List of Input Commands`_.
`List of Input Commands`_. ``--input-cmdlist`` also lists them.
Some commands do not support named arguments (e.g. ``run`` command). You need
to use APIs that pass arguments as arrays.