From 6c6e26ff69c92bf1a300bd033002e9f95d4ca1e0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 26 Nov 2021 14:20:18 +0100 Subject: docs: consistent manpage SYNOPSIS Make all libcurl related options use .nf (no fill) for the SYNOPSIS section - for consistent look. roffit then renders that section using
 (monospace font) in html for the website.

Extended manpage-syntax (test 1173) with a basic check for it.
---
 docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_NEC.3 | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_NEC.3')

diff --git a/docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_NEC.3 b/docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_NEC.3
index 13eedbf93..841f53f7b 100644
--- a/docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_NEC.3
+++ b/docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_NEC.3
@@ -24,9 +24,11 @@
 .SH NAME
 CURLOPT_SOCKS5_GSSAPI_NEC \- socks proxy gssapi negotiation protection
 .SH SYNOPSIS
+.nf
 #include 
 
 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SOCKS5_GSSAPI_NEC, long nec);
+.fi
 .SH DESCRIPTION
 Pass a long set to 1 to enable or 0 to disable. As part of the gssapi
 negotiation a protection mode is negotiated. The RFC1961 says in section
-- 
cgit v1.2.1