git: 28966fcdbf6f - stable/13 - freebsd-update: sort options alphabetically

From: Enji Cooper <ngie_at_FreeBSD.org>
Date: Sat, 31 Jan 2026 23:08:21 UTC
The branch stable/13 has been updated by ngie:

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

commit 28966fcdbf6f5e9d789cf10c7549db02da84eba7
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2025-09-09 19:11:13 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-01-31 23:08:08 +0000

    freebsd-update: sort options alphabetically
    
    This helps future developers when adding additional options handlers in the
    surrounding blocks.
    
    This is effectively a no-op.
    
    MFC after:      1 month
    
    (cherry picked from commit 0adec3d7ec96105c402ff2286e402ad63c845066)
---
 usr.sbin/freebsd-update/freebsd-update.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh
index 0ab7a3732ea8..e1712ff8b356 100644
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -512,14 +512,14 @@ parse_cmdline () {
 			if [ $# -eq 1 ]; then usage; fi; shift
 			config_KeyPrint $1 || usage
 			;;
-		-s)
-			if [ $# -eq 1 ]; then usage; fi; shift
-			config_ServerName $1 || usage
-			;;
 		-r)
 			if [ $# -eq 1 ]; then usage; fi; shift
 			config_TargetRelease $1 || usage
 			;;
+		-s)
+			if [ $# -eq 1 ]; then usage; fi; shift
+			config_ServerName $1 || usage
+			;;
 		-t)
 			if [ $# -eq 1 ]; then usage; fi; shift
 			config_MailTo $1 || usage