Skip to content

Commit

Permalink
change the repoName flag back to repo for backwards compatibility pur…
Browse files Browse the repository at this point in the history
…poses
  • Loading branch information
redradrat committed Nov 6, 2021
1 parent 6ba1e1d commit 1ab61b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/helmConcept.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}
2 changes: 1 addition & 1 deletion cmd/helmImport.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}

0 comments on commit 1ab61b9

Please sign in to comment.