Skip to content

Commit a085296

Browse files
committed
use a code block for options until the p6 pod table bug is fixed
1 parent f73ad98 commit a085296

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

doc/Programs/00-running.pod

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,33 @@ With no arguments, enters a REPL. With a C<[programfile]> or the C<-e>
1414
option, compiles the given program and by default also executes the
1515
compiled code.
1616
17-
(Note: please ignore C<\> in the options list below)
18-
19-
=table
20-
Option Purpose
21-
====== ==============================================
22-
X<-c> check syntax only (runs BEGIN and CHECK blocks)
23-
\--doc extract documentation and print it as text
24-
\-e program one line of program, strict is enabled by default
25-
\-h, --help display this help text
26-
\-n run program once for each line of input
27-
\-p same as -n, but also print $_ at the end of lines
28-
\-I path adds the path to the module search path
29-
\-M module loads the module prior to running the program
30-
\--target=[stage] specify compilation stage to emit
31-
\--optimize=[level] use the given level of optimization (0..3)
32-
\--encoding=[mode] specify string encoding mode
33-
\-o, --output=[name] specify name of output file
34-
\-v, --version display version information
35-
\--stagestats display time spent in the compilation stages
36-
\--ll-exception display a low level backtrace on errors
37-
\--profile write profile information as HTML file (MoarVM)
38-
\--profile-filename provide a different filename (also allows .json)
39-
\--doc=[module] Use Pod::To::[module] to render inline documentation.
17+
=begin code
18+
19+
Option Purpose
20+
====== ==============================================
21+
-c check syntax only (runs BEGIN and CHECK blocks)
22+
--doc extract documentation and print it as text
23+
-e program one line of program, strict is enabled by default
24+
-h, --help display this help text
25+
-n run program once for each line of input
26+
-p same as -n, but also print $_ at the end of lines
27+
-I path adds the path to the module search path
28+
-M module loads the module prior to running the program
29+
--target=[stage] specify compilation stage to emit
30+
--optimize=[level] use the given level of optimization (0..3)
31+
--encoding=[mode] specify string encoding mode
32+
-o, --output=[name] specify name of output file
33+
-v, --version display version information
34+
--stagestats display time spent in the compilation stages
35+
--ll-exception display a low level backtrace on errors
36+
--profile write profile information as HTML file (MoarVM)
37+
--profile-filename provide a different filename (also allows .json)
38+
--doc=[module] Use Pod::To::[module] to render inline documentation.
4039
4140
Note that only boolean single-letter options may be bundled.
4241
42+
=end code
43+
4344
The supported values for C<--target> are:
4445
4546
=begin table

0 commit comments

Comments
 (0)