summaryrefslogtreecommitdiffstats
path: root/doc/library.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/library.n')
-rw-r--r--doc/library.n9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/library.n b/doc/library.n
index 79817f2..c86da3e 100644
--- a/doc/library.n
+++ b/doc/library.n
@@ -189,10 +189,11 @@ bin or bin/\fIarch\fR directory;
relative to the executable file in the current build tree;
relative to the executable file in a parallel build tree.
.TP
-\fBparray \fIarrayName\fR\ ?\fIpattern\fR?
-Prints on standard output the names and values of all the elements
-in the array \fIarrayName\fR that match \fIpattern\fR (using the
-matching rules of \fBstring match\fR).
+\fBparray \fIarrayName\fR ?\fIpattern\fR?
+Prints on standard output the names and values of all the elements in the
+array \fIarrayName\fR, or just the names that match \fIpattern\fR (using the
+matching rules of \fBstring match\fR) and their values if \fIpattern\fR is
+given.
\fBArrayName\fR must be an array accessible to the caller of \fBparray\fR.
It may be either local or global.
.TP