From 65339e2ab4f5411a5f508eb292cfa5f829287dc5 Mon Sep 17 00:00:00 2001 From: Jimmi Dyson Date: Tue, 27 Jun 2023 15:06:31 +0100 Subject: [PATCH] fix: Format example usage correctly --- cmd/register.go | 6 +++--- docs/doc/list-images.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/register.go b/cmd/register.go index 4294e67..6517ede 100644 --- a/cmd/register.go +++ b/cmd/register.go @@ -19,9 +19,9 @@ func GetRootCommand() *cobra.Command { Long: "Lists all images those are part of specified chart/release and matches the pattern or part of specified " + "registry.", Example: ` helm list-images path/to/chart/prometheus-standalone -f ~/path/to/override-config.yaml - helm list-images prometheus-standalone --from-release --registry quay.io - helm list-images prometheus-standalone --from-release --registry quay.io --unique - helm list-images prometheus-standalone --from-release --registry quay.io --yaml`, + helm list-images prometheus-standalone --from-release --registry quay.io + helm list-images prometheus-standalone --from-release --registry quay.io --unique + helm list-images prometheus-standalone --from-release --registry quay.io --yaml`, Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { verflag.PrintAndExitIfRequested() diff --git a/docs/doc/list-images.md b/docs/doc/list-images.md index a8d5cdc..b812d4a 100644 --- a/docs/doc/list-images.md +++ b/docs/doc/list-images.md @@ -14,9 +14,9 @@ list-images CHART|RELEASE [flags] ``` helm list-images path/to/chart/prometheus-standalone -f ~/path/to/override-config.yaml - helm list-images prometheus-standalone --from-release --registry quay.io - helm list-images prometheus-standalone --from-release --registry quay.io --unique - helm list-images prometheus-standalone --from-release --registry quay.io --yaml + helm list-images prometheus-standalone --from-release --registry quay.io + helm list-images prometheus-standalone --from-release --registry quay.io --unique + helm list-images prometheus-standalone --from-release --registry quay.io --yaml ``` ### Options