git: 377e0cfa0fe5 - stable/15 - freebsd-update: sort options alphabetically
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Nov 2026 03:49:37 UTC
The branch stable/15 has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=377e0cfa0fe5c15a989ab0faf7246c87a53f6ff2
commit 377e0cfa0fe5c15a989ab0faf7246c87a53f6ff2
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2025-09-09 19:11:13 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-11-01 03:48:58 +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 5fd6a377d46c..a932cdb26965 100644
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -513,14 +513,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