runlisp.c, etc.: Rename `-p' to `-d'. COMPAT
[runlisp] / runlisp.1.in
index 119c4e0..35378d4 100644 (file)
@@ -58,12 +58,12 @@ 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 ]
 .RB [ \-\- ]
 .RI [ arguments
 \*(..]
@@ -199,6 +199,25 @@ 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
+(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.
+.
+.TP
 .BI "\-e" "\fR, " "\-\-evaluate-expression=" expr
 Evaluate the expression(s)
 .I expr
@@ -247,25 +266,6 @@ and overrides any similarly named setting
 from the configuration file(s).
 .
 .TP
-.BI "\-p" "\fR, " "\-\-print-expressin=" expr
-Evaluate the expression(s)
-.I expr
-and print the resulting value(s)
-to standard output
-(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.
-.
-.TP
 .BR "\-q" ", " "\-\-quiet"
 Don't print warning messages.
 This option may be repeated:
@@ -290,10 +290,10 @@ Higher verbosity levels print informational and debugging messages.
 .
 .PP
 The
+.RB ` \-d ',
 .RB ` \-e ',
-.RB ` \-l ',
 and
-.RB ` \-p '
+.RB ` \-l '
 options may only be given on the command-line itself,
 not following a
 .RB `@ RUNLISP: '
@@ -323,10 +323,10 @@ 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
-.RB ` \-p ',
+.RB ` \-l ',
 then
 .B runlisp
 treats all of its positional arguments as
@@ -422,10 +422,10 @@ and
 is now committed to
 .I script
 mode, so it's too late for
+.RB ` \-d ',
 .RB ` \-e ',
-.RB ` \-l ',
 and
-.RB ` \-p '
+.RB ` \-l '
 too.
 .PP
 (This feature allows scripts to provide options even if they use