aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cppawk-cons.18
1 files changed, 4 insertions, 4 deletions
diff --git a/cppawk-cons.1 b/cppawk-cons.1
index 049d802..86393c1 100644
--- a/cppawk-cons.1
+++ b/cppawk-cons.1
@@ -85,8 +85,8 @@ cons \- Lisp-like data representation and control flow macros
nthcdr(\fIi\fP, \fIx\fP) \fI// suffix of x starting at i-th item\fP
ldiff(\fIx\fP, \fIy\fP) \fI// prefix of x omitting suffix y.\fP
- last(\fIx\fP, [\fIn\fP]) \fI// suffix of x of length n, defaulting to 1.\fP
- butlast(\fIx\fP, [\fIn\fP]) \fI// prefix of x omitting last n, defaulting to 1.\fP
+ last(\fIx\fP[, \fIn\fP]) \fI// suffix of x of length n, defaulting to 1.\fP
+ butlast(\fIx\fP[, \fIn\fP]) \fI// prefix of x omitting last n, defaulting to 1.\fP
reverse(\fIx\fP) \fI// reverse list x\fP
@@ -1462,8 +1462,8 @@ Syntax:
.ft B
ldiff(\fIx\fP, \fIy\fP)
- last(\fIx\fP, [\fIn\fP])
- butlast(\fIx\fP, [\fIn\fP])
+ last(\fIx\fP[, \fIn\fP])
+ butlast(\fIx\fP[, \fIn\fP])
.ft R
.B Description