diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-10-21 06:40:42 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-10-21 06:40:42 -0400 |
| commit | 4a0af221b7600328e1c62b5cea9b7be891132244 (patch) | |
| tree | e96454dc7b081291dde29a0d2cf0b73ced85baf0 | |
| parent | 5d4d0f28ced2c4cd7f4354458b279a25612753a2 (diff) | |
| download | greypool-4a0af221b7600328e1c62b5cea9b7be891132244.tar.gz | |
Actually print mono HTML pages with the --mono option.
| -rwxr-xr-x | greypool | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -637,13 +637,13 @@ sub print_report_header { <html> <head> <meta name="Generator" content="$SELF/$VERSION"> -<style> -EOF - print_css(); - print <<EOF; -</style> -<title> EOF + if($color_output) { + print "<style>\n"; + print_css(); + print "</style>\n"; + } + print "<title>\n"; } print "Repology status report for $email ($repo repository)\n\n"; print "</title>\n</head>\n<body>\n" if $html; @@ -795,7 +795,7 @@ tty device (e.g. not redirected to a file). =item B<-m>, B<--mono> B<--no-color>, B<--no-colour> Do no colorize the output, even if stdout is a terminal. This also -produces monochrome HTML pages, with the B<-h> / B<--html> option. +produces monochrome (unstyled) HTML pages, with the B<-h> / B<--html> option. =item B<-C>, B<--config-dir> I<directory> @@ -823,8 +823,8 @@ is not a web designer and doesn't want to be one. =item B<-H>, B<--html-fragment> -Like B<--html>, but I<just> the HTML table (no header, body tag, etc). -Suitable for embedding in another HTML page. +Like B<--html>, but I<just> the HTML table (no header, stylesheet, +body tag, etc). Suitable for embedding in another HTML page. =item B<-C>, B<--csv> |
