[Privoxy-commits] [privoxy] 14/18: utils/filter2docs.pl: Add two spaces between filter names and description

User Git git at git.privoxy.org
Tue Mar 31 09:21:07 CEST 2026


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

git pushed a commit to branch master
in repository privoxy.

commit 81c95037aeb2be69dca1f44a9e15fbc1b36e1ed7
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Tue Mar 31 08:41:07 2026 +0200

    utils/filter2docs.pl: Add two spaces between filter names and description
    
    So there's space after the longest filter name which
    currently is 'allow-autocompletion'.
---
 utils/filter2docs.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/filter2docs.pl b/utils/filter2docs.pl
index 34e2d5cb..af5fa5a8 100755
--- a/utils/filter2docs.pl
+++ b/utils/filter2docs.pl
@@ -37,7 +37,7 @@ sub parse_file() {
             my $description = $3;
             my $type = lc($type_uc);
             my $sgml_description = sgml_escape($description);
-            my $white_space = ' ' x (($type eq 'filter' ? 20 : 27) - length($name));
+            my $white_space = ' ' x (($type eq 'filter' ? 22 : 29) - length($name));
 
             $comment_lines{$type} .= "#     $name:" . $white_space . "$description\n";
             $action_lines{$type}  .= "+$type" . "{$name} \\\n";

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


More information about the Privoxy-commits mailing list