Skip to content

Commit

Permalink
docs: add available types to hcloud image list --help (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
kranurag7 authored Feb 7, 2024
1 parent 08338de commit aee58f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/image/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var ListCmd = base.ListCmd{
JSONKeyGetByName: "images",
DefaultColumns: []string{"id", "type", "name", "description", "architecture", "image_size", "disk_size", "created", "deprecated"},
AdditionalFlags: func(cmd *cobra.Command) {
cmd.Flags().StringSliceP("type", "t", []string{}, "Only show images of given type")
cmd.Flags().StringSliceP("type", "t", []string{}, "Only show images of given type: system|app|snapshot|backup")
cmd.RegisterFlagCompletionFunc("type", cmpl.SuggestCandidates("backup", "snapshot", "system", "app"))

cmd.Flags().StringSliceP("architecture", "a", []string{}, "Only show images of given architecture: x86|arm")
Expand Down

0 comments on commit aee58f5

Please sign in to comment.