From: Daniel Stenberg Date: Fri, 30 Aug 2024 06:54:19 +0000 (+0200) Subject: managen: in man output, remove the leading space from examples X-Git-Tag: curl-8_10_0~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23e6391c1d252cce89281d825fceef27632d3bf4;p=thirdparty%2Fcurl.git managen: in man output, remove the leading space from examples Leave that rendering decision to the display tool. Closes #14735 --- diff --git a/scripts/managen b/scripts/managen index 2a1c1d9f8e..df7663cd3e 100755 --- a/scripts/managen +++ b/scripts/managen @@ -803,7 +803,7 @@ sub single { $e =~ s!\$URL!https://example.com!g; # convert single backslahes to doubles $e =~ s/\\/\\\\/g; - print " curl $e\n"; + print "curl $e\n"; } print ".fi\n"; } diff --git a/tests/data/test1705 b/tests/data/test1705 index 21bc70e307..6736d928c9 100644 --- a/tests/data/test1705 +++ b/tests/data/test1705 @@ -234,7 +234,7 @@ Disable it again with \-\-no-fakeitreal. Example: .nf - curl --verbose https://example.com +curl --verbose https://example.com .fi This option is mutually exclusive with \fI\-\-trace\fP and \fI\-\-trace\-ascii\fP. @@ -272,7 +272,7 @@ If --proto is provided several times, the last set value is used. Example: .nf - curl --proto =http,https,sftp https://example.com +curl --proto =http,https,sftp https://example.com .fi See also \fI-v, \-\-fakeitreal\fP and \fI\-\-proto\-default\fP.