Skip to content

Commit

Permalink
Fix wording and flag type
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Jun 7, 2023
1 parent c4f6a3d commit 6ca468d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/plugin_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var (
// pluginInstallCmd represents the plugin install command.
var pluginInstallCmd = &cobra.Command{
Use: "install",
Short: "Install a plugin from a local or remote location",
Short: "Install a plugin from a remote location",
Example: " gatewayd plugin install github.com/gatewayd-io/gatewayd-plugin-cache@latest",
Run: func(cmd *cobra.Command, args []string) {
// Enable Sentry.
Expand Down Expand Up @@ -420,8 +420,8 @@ func init() {
"Plugin config file")
pluginInstallCmd.Flags().StringVarP(
&pluginOutputDir, "output-dir", "o", "./plugins", "Output directory for the plugin")
pluginInstallCmd.Flags().BoolVarP(
&pullOnly, "pull-only", "", false, "Only pull the plugin, don't install it")
pluginInstallCmd.Flags().BoolVar(
&pullOnly, "pull-only", false, "Only pull the plugin, don't install it")
pluginInstallCmd.Flags().BoolVar(
&enableSentry, "sentry", true, "Enable Sentry") // Already exists in run.go
}

0 comments on commit 6ca468d

Please sign in to comment.