Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions cmd/limactl/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ The output can be presented in one of several formats, using the --format <forma
--format yaml - Output in YAML format
--format table - Output in table format
--format '{{ <go template> }}' - If the format begins and ends with '{{ }}', then it is used as a go template.
` + store.FormatHelp + `
The following legacy flags continue to function:
--json - equal to '--format json'`,
` + store.FormatHelp,
Args: WrapArgsError(cobra.ArbitraryArgs),
RunE: listAction,
ValidArgsFunction: listBashComplete,
Expand All @@ -68,7 +66,7 @@ The following legacy flags continue to function:

listCommand.Flags().StringP("format", "f", "table", "Output format, one of: json, yaml, table, go-template")
listCommand.Flags().Bool("list-fields", false, "List fields available for format")
listCommand.Flags().Bool("json", false, "JSONify output")
listCommand.Flags().Bool("json", false, "Same as --format=json")
listCommand.Flags().BoolP("quiet", "q", false, "Only show names")
listCommand.Flags().Bool("all-fields", false, "Show all fields")
listCommand.Flags().StringArray("yq", nil, "Apply yq expression to each instance")
Expand Down
Loading