summaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_escape.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-11-26 14:20:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-11-26 14:20:18 +0100
commit6c6e26ff69c92bf1a300bd033002e9f95d4ca1e0 (patch)
tree168985ba60c30e9fbb63453f629a54a7c244dd79 /docs/libcurl/curl_escape.3
parent2361d11d4c9602937aa081a6899f1b313398514a (diff)
downloadcurl-6c6e26ff69c92bf1a300bd033002e9f95d4ca1e0.tar.gz
docs: consistent manpage SYNOPSISbagder/libcurl-synopsis
Make all libcurl related options use .nf (no fill) for the SYNOPSIS section - for consistent look. roffit then renders that section using <pre> (monospace font) in html for the website. Extended manpage-syntax (test 1173) with a basic check for it.
Diffstat (limited to 'docs/libcurl/curl_escape.3')
-rw-r--r--docs/libcurl/curl_escape.39
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/libcurl/curl_escape.3 b/docs/libcurl/curl_escape.3
index b73e22fdb..952e5eb77 100644
--- a/docs/libcurl/curl_escape.3
+++ b/docs/libcurl/curl_escape.3
@@ -23,10 +23,11 @@
.SH NAME
curl_escape - URL encodes the given string
.SH SYNOPSIS
-.B #include <curl/curl.h>
-.sp
-.BI "char *curl_escape( const char *" url ", int "length " );"
-.ad
+.nf
+#include <curl/curl.h>
+
+char *curl_escape(const char *url, int length);
+.fi
.SH DESCRIPTION
Obsolete function. Use \fIcurl_easy_escape(3)\fP instead!