docs: <> -> []

This commit is contained in:
decentral1se 2024-12-31 08:26:01 +01:00
parent ef95bce1e4
commit cd6af9708c
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -103,7 +103,7 @@ Please note, "upgrade"/"rollback" do not support chaos operations.`,
log.Fatal(err)
}
// NOTE(d1): handles "<version> as git hash" use case
// NOTE(d1): handles "[version] as git hash" use case
var isChaosCommit bool
// NOTE(d1): check out specific version before dealing with secrets. This
@ -285,7 +285,7 @@ Please note, "upgrade"/"rollback" do not support chaos operations.`,
// validateChaosXORVersion xor checks version/chaos mode
func validateChaosXORVersion(args []string) (bool, error) {
if getSpecifiedVersion(args) != "" && internal.Chaos {
return false, errors.New("cannot use <version> and --chaos together")
return false, errors.New("cannot use [version] and --chaos together")
}
return true, nil
}