Author: particle Date: 2009-01-02 17:08:51 +0100 (Fri, 02 Jan 2009) New Revision: 24737
Modified: docs/Perl6/Spec/S19-commandline.pod Log: [spec] add signature for perl6, and make --output-format entirely implementation-specific Modified: docs/Perl6/Spec/S19-commandline.pod =================================================================== --- docs/Perl6/Spec/S19-commandline.pod 2009-01-02 15:50:03 UTC (rev 24736) +++ docs/Perl6/Spec/S19-commandline.pod 2009-01-02 16:08:51 UTC (rev 24737) @@ -312,6 +312,30 @@ Perl 6 options, descriptions, and services. +=head2 Synopsis + + multi sub perl6( + Bool :a($autosplit), + Bool :c($check-syntax), + Bool :$doc, + :e($execute), + :$execute-lax, #TODO fix illegal -e6 syntax. -6? not legal. -x? hrmm + Bool :F($autoloop-split), + Bool :h($help), + :I(@include), + #TODO -M, + Bool :n($autoloop-no-print), + :O($output-format) = 'exe', + :o($output-file) = $*OUT, + Bool :p($autoloop-print), + :S(@search-path), + Bool :T($taint), + Bool :v($version), + Bool :V($verbose-config), + ); + +=head2 Reference + =over 4 =item --autosplit, -a @@ -441,12 +465,11 @@ Notes: Desugars to C<++PARSER --prelude=Perl6-autoloop-no-print ++/PARSER>. -=item --output-format, -O [format] +=item --output-format, -O format Specify the file format for the output file requested with C<--output-file>. -Defaults to 'exe', which represents the target platform's idea of an -executable. Other valid values are implementation-specific, so consult the -documentation for your compiler toolchain. +This option is implementation-specific, so consult the documentation for your +Perl 6 implementation. =item --output-file, -o [filename]