From 1ab61b9c76630321f6685ce2466d17f841ac6479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralph=20K=C3=BChnert?= Date: Sat, 6 Nov 2021 12:42:17 +0100 Subject: [PATCH] change the repoName flag back to repo for backwards compatibility purposes --- cmd/helmConcept.go | 2 +- cmd/helmImport.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/helmConcept.go b/cmd/helmConcept.go index 0abe71c..5195ad2 100644 --- a/cmd/helmConcept.go +++ b/cmd/helmConcept.go @@ -59,7 +59,7 @@ func init() { // Cobra supports local flags which will only run when this command // is called directly, e.g.: helmConceptCmd.Flags().StringVarP(&chartVersion, "version", "v", "", "The version of the helm chart.") - helmConceptCmd.Flags().StringVar(&chartRepoName, "repoName", "stable", "The name of the repository where the helm chart resides. (stable: https://charts.helm.sh/stable)") + helmConceptCmd.Flags().StringVar(&chartRepoName, "repo", "stable", "The name of the repository where the helm chart resides. (stable: https://charts.helm.sh/stable)") helmConceptCmd.Flags().StringVar(&chartRepoURL, "repoURL", "", "The URL of the repository where the helm chart resides.") helmConceptCmd.Flags().StringVarP(&dir, "directory", "d", ".", "The directory to create the concept in.") } diff --git a/cmd/helmImport.go b/cmd/helmImport.go index 8d647f4..c8c99b3 100644 --- a/cmd/helmImport.go +++ b/cmd/helmImport.go @@ -61,7 +61,7 @@ func init() { // Cobra supports local flags which will only run when this command // is called directly, e.g.: helmImportCmd.Flags().StringVarP(&chartVersion, "version", "v", "", "The version of the helm chart.") - helmImportCmd.Flags().StringVar(&chartRepoName, "repoName", "stable", "The name of the repository where the helm chart resides. (stable: https://charts.helm.sh/stable)") + helmImportCmd.Flags().StringVar(&chartRepoName, "repo", "stable", "The name of the repository where the helm chart resides. (stable: https://charts.helm.sh/stable)") helmImportCmd.Flags().StringVar(&chartRepoURL, "repoURL", "", "The URL of the repository where the helm chart resides.") helmImportCmd.Flags().StringVarP(&dir, "directory", "d", ".", "The directory of the concept.") }