From ad2a46d0ce305dbcbcedc213865cdec6ee13792b Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 29 Apr 2025 13:00:20 -0400 Subject: [PATCH] getopt_long.3: Use "optstring" consistently The SYNOPSIS uses "optstring" as the argument name but the body text used a mixture of "optstr" and "optstring." Sponsored by: The FreeBSD Foundation --- lib/libc/stdlib/getopt_long.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3 index f8bb1f1b6b1..d6998d13822 100644 --- a/lib/libc/stdlib/getopt_long.3 +++ b/lib/libc/stdlib/getopt_long.3 @@ -217,7 +217,7 @@ an error and return Specifying .Ql \&: in -.Fa optstr +.Fa optstring will cause the error message to be suppressed and .Ql \&: to be returned instead. @@ -229,7 +229,7 @@ a leading or .Ql \&- in -.Fa optstr +.Fa optstring also has special meaning. If either of these are specified, they must appear before .Ql \&: .