From aee58f55efd533869b1ddf32d9cf93ad8cc85232 Mon Sep 17 00:00:00 2001 From: kranurag7 <81210977+kranurag7@users.noreply.github.com> Date: Wed, 7 Feb 2024 16:35:35 +0530 Subject: [PATCH] docs: add available types to hcloud image list --help (#690) --- internal/cmd/image/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/image/list.go b/internal/cmd/image/list.go index 67178cd5..5cdcc5b6 100644 --- a/internal/cmd/image/list.go +++ b/internal/cmd/image/list.go @@ -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")