- Timestamp:
- 10/31/08 20:07:06 (2 months ago)
- Files:
-
- 1 modified
-
src/perl6/STD_syntax_highlight (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/perl6/STD_syntax_highlight
r22841 r22842 44 44 45 45 my ($clean_html,$help) = (0,0); 46 my ($full_html,$simple_html,$ansi_text) = (0, '-',0);46 my ($full_html,$simple_html,$ansi_text) = (0,0,0); 47 47 my ($file, $parser, $src_text); 48 48 … … 76 76 77 77 --full-html=filename 78 write full-mode html to filename ( disabled by default,- for STDOUT)78 write full-mode html to filename (- for STDOUT) 79 79 80 80 --simple-html=filename 81 write simple-mode html to filename (enabled by default, - for STDOUT) 81 write simple-mode html to filename (defaults to STDOUT if no other 82 option is selected, - for STDOUT) 82 83 83 84 --ansi-text=filename 84 write simple-mode ansi color text to filename ( enabled by default,- for STDOUT)85 write simple-mode ansi color text to filename (- for STDOUT) 85 86 86 87 HELP 88 } 89 90 #default is --simple-html=- if no option is selected 91 if(!($ansi_text || $full_html) && !$simple_html) { 92 $simple_html = '-'; 87 93 } 88 94
