]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ssl-sessions.md: mark option experimental
authorDaniel Stenberg <daniel@haxx.se>
Thu, 11 Sep 2025 14:09:45 +0000 (16:09 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 11 Sep 2025 15:01:07 +0000 (17:01 +0200)
Also make managen output the experimental text with the correct
prefix/margin for the ascii version.

Closes #18523

docs/cmdline-opts/ssl-sessions.md
scripts/managen

index bb1e251e732dab78266de2d688dc3673e34a2751..33ef984a3ec41069569582ff613a974099637f64 100644 (file)
@@ -8,6 +8,7 @@ Help: Load/save SSL session tickets from/to this file
 Added: 8.12.0
 Category: tls
 Multi: single
+Experimental: yes
 See-also:
   - tls-earlydata
 Example:
index 459b651240a6d17d7a67e5442160eec59a0d58f4..1eb536a0e6d7f937f330708317302a1daf076a7e 100755 (executable)
@@ -728,7 +728,8 @@ sub single {
     }
 
     if($experimental) {
-        push @leading, "**WARNING**: this option is experimental. Do not use in production.\n\n";
+        my $pref = $manpage ? "" : "[1]";
+        push @leading, "$pref**WARNING**: this option is experimental. Do not use in production.\n\n";
     }
 
     my $pre = $manpage ? "\n": "[1]";