managen: remove space before protocols

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
This commit is contained in:
Daniel Stenberg 2024-03-12 08:45:22 +01:00
parent 942896fdd1
commit 451a7a7aa2
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

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