From 50cf9be45c7037e36878947c94669960527e7106 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Tue, 11 Jun 2024 09:52:05 -0700 Subject: [PATCH] build_flag: when printing all flags, sort them. Bug: None Test: manual Change-Id: I1d3d6e9d9e56d2987e43e4a41162df4d3c39ad31 --- cmd/release_config/build_flag/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/release_config/build_flag/main.go b/cmd/release_config/build_flag/main.go index 160f2cf20..5d183ee31 100644 --- a/cmd/release_config/build_flag/main.go +++ b/cmd/release_config/build_flag/main.go @@ -163,6 +163,7 @@ func GetCommand(configs *rc_lib.ReleaseConfigs, commonFlags Flags, cmd string, a for _, fa := range configs.FlagArtifacts { args = append(args, *fa.FlagDeclaration.Name) } + slices.Sort(args) } var maxVariableNameLen, maxReleaseNameLen int