@@ -57,9 +57,7 @@ The output can be presented in one of several formats, using the --format <forma
5757 --format yaml - Output in YAML format
5858 --format table - Output in table format
5959 --format '{{ <go template> }}' - If the format begins and ends with '{{ }}', then it is used as a go template.
60- ` + store .FormatHelp + `
61- The following legacy flags continue to function:
62- --json - equal to '--format json'` ,
60+ ` + store .FormatHelp ,
6361 Args : WrapArgsError (cobra .ArbitraryArgs ),
6462 RunE : listAction ,
6563 ValidArgsFunction : listBashComplete ,
@@ -68,7 +66,7 @@ The following legacy flags continue to function:
6866
6967 listCommand .Flags ().StringP ("format" , "f" , "table" , "Output format, one of: json, yaml, table, go-template" )
7068 listCommand .Flags ().Bool ("list-fields" , false , "List fields available for format" )
71- listCommand .Flags ().Bool ("json" , false , "JSONify output " )
69+ listCommand .Flags ().Bool ("json" , false , "Same as --format=json " )
7270 listCommand .Flags ().BoolP ("quiet" , "q" , false , "Only show names" )
7371 listCommand .Flags ().Bool ("all-fields" , false , "Show all fields" )
7472 listCommand .Flags ().StringArray ("yq" , nil , "Apply yq expression to each instance" )
0 commit comments