git: eb4b66863bf3 - stable/15 - builtin.1: Command list maintenance

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Fri, 10 Apr 2026 18:30:57 UTC
The branch stable/15 has been updated by ziaee:

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

commit eb4b66863bf32e96a837b908add7d90e18631d8b
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-04-10 17:18:42 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-04-10 17:18:42 +0000

    builtin.1: Command list maintenance
    
    + link to return(1) like the other exclusive builtins
    + fix alphabetical sorting of list in rendered manual
    
    MFC after:      3 days (commit remade due to merge conflicts)
    
    (cherry picked from commit e54a1ef4ebdf1ea606eb0e00cf2345f9c0db7a7f)
---
 share/man/man1/Makefile  | 1 +
 share/man/man1/builtin.1 | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/share/man/man1/Makefile b/share/man/man1/Makefile
index c58de8345efc..19d6a655ced6 100644
--- a/share/man/man1/Makefile
+++ b/share/man/man1/Makefile
@@ -69,6 +69,7 @@ RUNTIMELINKS=\
 	builtin.1 readonly.1 \
 	builtin.1 rehash.1 \
 	builtin.1 repeat.1 \
+	builtin.1 return.1 \
 	builtin.1 sched.1 \
 	builtin.1 set.1 \
 	builtin.1 setenv.1 \
diff --git a/share/man/man1/builtin.1 b/share/man/man1/builtin.1
index ee89006caea5..fbdd35208207 100644
--- a/share/man/man1/builtin.1
+++ b/share/man/man1/builtin.1
@@ -95,8 +95,8 @@ and the standard shells that provide them.
 .It Ic false Ta Yes Ta \&No Ta Yes
 .It Ic fc Ta No* Ta \&No Ta Yes
 .It Ic fg Ta No* Ta Yes Ta Yes
-.It Ic filetest Ta \&No Ta Yes Ta \&No
 .It Ic fi Ta \&No Ta \&No Ta Yes
+.It Ic filetest Ta \&No Ta Yes Ta \&No
 .It Ic for Ta \&No Ta \&No Ta Yes
 .It Ic foreach Ta \&No Ta Yes Ta \&No
 .It Ic getopts Ta No* Ta \&No Ta Yes