]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
managen: remove space before protocols
authorDaniel Stenberg <daniel@haxx.se>
Tue, 12 Mar 2024 07:45:22 +0000 (08:45 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 Mar 2024 07:57:15 +0000 (08:57 +0100)
For options that are listed for specific protocols, the protocols (shown
first within parentheses) are now output without the leading space in the
manpage output.

Closes #13105

scripts/managen

index d950bd5866e1dc34b2fb5bbef83565d3225df9da..ab96861b8f7b458cc0ae8748135f5643893aaed8 100755 (executable)
@@ -232,7 +232,7 @@ sub protocols {
         return ".SH \"PROTOCOLS\"\n$data\n";
     }
     else {
-        return " ($data) " if($manpage);
+        return "($data) " if($manpage);
         return "[1]($data) " if(!$manpage);
     }
 }