build_flag: when printing all flags, sort them.

Bug: None
Test: manual
Change-Id: I1d3d6e9d9e56d2987e43e4a41162df4d3c39ad31
This commit is contained in:
LaMont Jones 2024-06-11 09:52:05 -07:00
parent fcb2d377ca
commit 50cf9be45c

View file

@ -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