Skip to content

Commit

Permalink
Removed SilenceUsage to help text when running the command incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
tirthct committed Oct 7, 2024
1 parent 8b7f5e2 commit 1b583fd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions cmd/ocm-support/sync-cloud-resources/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ import (
)

var Cmd = &cobra.Command{
Use: "sync-cloud-resources [branch-name] [csv-path]",
Short: "Syncs cloud resources in AMS and generates quota rules for them",
Long: "Syncs cloud resources in AMS and generates quota rules for them",
RunE: syncCloudResources,
SilenceUsage: true,
Args: cobra.ExactArgs(2),
Use: "sync-cloud-resources [branch-name] [csv-path]",
Short: "Syncs cloud resources in AMS and generates quota rules for them",
Long: "Syncs cloud resources in AMS and generates quota rules for them",
RunE: syncCloudResources,
Args: cobra.ExactArgs(2),
}

var args struct {
Expand Down

0 comments on commit 1b583fd

Please sign in to comment.