git: 490474e84f7d - stable/14 - freebsd-update: sort options alphabetically

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

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

commit 490474e84f7d9b1e190b6dc60ad0bb8b030d6caf
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:48 +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 75f8aaefc8b4..1e9e6e63e992 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