Skip to content

Commit

Permalink
remove version flag, update use of install.
Browse files Browse the repository at this point in the history
  • Loading branch information
preslavgerchev committed Sep 25, 2023
1 parent 1b5aae9 commit f58d36c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/cnquery/cmd/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func init() {

installProviderCmd.Flags().StringP("file", "f", "", "install a provider via a file")
installProviderCmd.Flags().String("url", "", "install a provider via URL")
installProviderCmd.Flags().String("version", "", "install a specific version of a provider")
}

var ProvidersCmd = &cobra.Command{
Expand All @@ -50,7 +49,7 @@ var listProvidersCmd = &cobra.Command{
}

var installProviderCmd = &cobra.Command{
Use: "install <NAME>",
Use: "install <NAME@[VERSION]>",
Short: "Install or update a provider.",
Args: cobra.ExactArgs(1),
Long: "",
Expand Down

0 comments on commit f58d36c

Please sign in to comment.