read: add --list as synonym for --array

Work on #5846.
This commit is contained in:
David Adam
2019-08-22 21:23:06 +08:00
parent e3eb8f758b
commit 225b1204d6
3 changed files with 4 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ The following options are available:
- ``-x`` or ``--export`` exports the variables to child processes.
- ``-a`` or ``--array`` stores the result as a list in a single variable.
- ``-a`` or ``--list`` stores the result as a list in a single variable. This option is also available as ``--array`` for backwards compatibility.
- ``-z`` or ``--null`` marks the end of the line with the NUL character, instead of newline. This also
disables interactive mode.