[Privoxy-commits] [privoxy] 12/30: privoxy-log-parser: Only run print_intro() and print_outro() when syntax highlighting

User Git git at git.privoxy.org
Thu Nov 11 04:42:02 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 8a25b4c603d7d472e7c54be84ee0f1292cc72b24
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Thu Mar 25 16:02:07 2021 +0100

    privoxy-log-parser: Only run print_intro() and print_outro() when syntax highlighting
---
 tools/privoxy-log-parser.pl | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 376607c1..7f56b4bd 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -2823,18 +2823,16 @@ sub main() {
     set_background(DEFAULT_BACKGROUND);
     prepare_our_stuff();
 
-    print_intro();
-
     # XXX: should explicitly reject incompatible argument combinations
     if (cli_option_is_set('unbreak-lines-only')) {
         unbreak_lines_only_loop();
     } elsif (cli_option_is_set('statistics')) {
         stats_loop();
     } else {
+        print_intro();
         parse_loop();
+        print_outro();
     }
-
-    print_outro();
 }
 
 main();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list