Update flags to align with other var commands. (#14550)

This commit is contained in:
Charlie Voiselle
2022-09-12 15:26:12 -04:00
committed by GitHub
parent 9b6fdcc826
commit 33aab65b2b
3 changed files with 104 additions and 124 deletions

View File

@@ -322,8 +322,10 @@ const (
errMissingTemplate = `A template must be supplied using '-template' when using go-template formatting`
errUnexpectedTemplate = `The '-template' flag is only valid when using 'go-template' formatting`
errVariableNotFound = `Variable not found`
errNoMatchingVariables = `No matching variables found`
errInvalidInFormat = `Invalid value for "-in"; valid values are [hcl, json]`
errInvalidOutFormat = `Invalid value for "-out"; valid values are [go-template, hcl, json, none, table]`
errInvalidListOutFormat = `Invalid value for "-out"; valid values are [go-template, json, table, terse]`
errWildcardNamespaceNotAllowed = `The wildcard namespace ("*") is not valid for this command.`
msgfmtCASMismatch = `