X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/ee78edd018006598e9b138fbfa98d1b55a03825b..627ff527e9062eb2ad4c94b6f674bae087217f6e:/runlisp.1.in diff --git a/runlisp.1.in b/runlisp.1.in index 119c4e0..d262389 100644 --- a/runlisp.1.in +++ b/runlisp.1.in @@ -58,12 +58,18 @@ runlisp \- run Common Lisp programs as scripts .br .B runlisp .RI [ options ] +.RB [ \-d +.IR form ] .RB [ \-e .IR form ] .RB [ \-l .IR file ] .RB [ \-p .IR form ] +.if !t \{\ +.br + \c +.\} .RB [ \-\- ] .RI [ arguments \*(..] @@ -199,6 +205,32 @@ All of the files are expected to be as described in .BR runlisp.conf (5). . .TP +.BI "\-d" "\fR, " "\-\-dump-expression=" expr +Evaluate the expression(s) +.I expr +and print the resulting value(s) +to standard output +(with +.B *print-escape* +true, as if by +.BR prin1 ). +If a form produces multiple values, +they are printed on a single line, +separated by a single space character; +if a form produces no values at all, +then nothing is printed \(en not even a newline character. +This option causes +.B runlisp +to execute in +.I eval +mode. +See also +.RB ` \-p ', +which prints with +.B *print-escape* +false. +. +.TP .BI "\-e" "\fR, " "\-\-evaluate-expression=" expr Evaluate the expression(s) .I expr @@ -247,13 +279,15 @@ and overrides any similarly named setting from the configuration file(s). . .TP -.BI "\-p" "\fR, " "\-\-print-expressin=" expr +.BI "\-p" "\fR, " "\-\-print-expression=" expr Evaluate the expression(s) .I expr and print the resulting value(s) to standard output -(as if by -.BR prin1 ). +(with +.B *print-escape* +false, as if by +.BR princ ). If a form produces multiple values, they are printed on a single line, separated by a single space character; @@ -264,6 +298,11 @@ This option causes to execute in .I eval mode. +See also +.RB ` \-d ', +which prints with +.B *print-escape* +true. . .TP .BR "\-q" ", " "\-\-quiet" @@ -290,6 +329,7 @@ Higher verbosity levels print informational and debugging messages. . .PP The +.RB ` \-d ', .RB ` \-e ', .RB ` \-l ', and @@ -323,6 +363,7 @@ though the boundary may be marked explicitly using .RB ` \-\- ' if desired. If the command line contains any of +.RB ` \-d ', .RB ` \-e ', .RB ` \-l ', or @@ -422,6 +463,7 @@ and is now committed to .I script mode, so it's too late for +.RB ` \-d ', .RB ` \-e ', .RB ` \-l ', and