git: fd017bf5ef37 - stable/15 - man: Fix usage message

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Tue, 23 Sep 2025 12:57:53 UTC
The branch stable/15 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=fd017bf5ef37e8e6cccc9e887d4fcc4c594b0602

commit fd017bf5ef37e8e6cccc9e887d4fcc4c594b0602
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2025-09-08 13:26:43 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2025-09-23 12:57:29 +0000

    man: Fix usage message
    
    PR:             289245
    Fixes:          14b61b2e9317 ("man: Add -l option")
    (cherry picked from commit dc38cf116c820df0be341ec5e359de0012b2d58a)
---
 usr.bin/man/man.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/man/man.sh b/usr.bin/man/man.sh
index 53961ae4997e..920223ce3c27 100755
--- a/usr.bin/man/man.sh
+++ b/usr.bin/man/man.sh
@@ -766,7 +766,7 @@ man_setup_locale() {
 # Display usage for the man utility.
 man_usage() {
 	echo 'Usage:'
-	echo ' man [-adho] [-t | -w] [-M manpath] [-P pager] [-S mansect]'
+	echo ' man [-adhlo] [-t | -w] [-M manpath] [-P pager] [-S mansect]'
 	echo '     [-m arch[:machine]] [-p [eprtv]] [mansect] page [...]'
 	echo ' man -K | -f | -k expression [...] -- Search manual pages'