Skip to content

Commit

Permalink
chore: Avoid inserting the resolved plugin dir in command description
Browse files Browse the repository at this point in the history
  • Loading branch information
rhuss committed Jun 8, 2020
1 parent 6bf00ea commit 1e66a56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/cmd/kn_plugin_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ List all installed plugins.
Available plugins are those that are:
- executable
- begin with "kn-"
- Kn's plugin directory /Users/roland/.config/kn/plugins
- Kn's plugin directory
- Anywhere in the execution $PATH (if plugins.path-lookup config variable is enabled)

```
Expand Down
2 changes: 1 addition & 1 deletion pkg/kn/commands/plugin/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func NewPluginListCommand(p *commands.KnParams) *cobra.Command {
Available plugins are those that are:
- executable
- begin with "kn-"
- Kn's plugin directory ` + config.GlobalConfig.PluginsDir() + `
- Kn's plugin directory
- Anywhere in the execution $PATH (if plugins.path-lookup config variable is enabled)`,
RunE: func(cmd *cobra.Command, args []string) error {
return listPlugins(cmd, plFlags)
Expand Down

0 comments on commit 1e66a56

Please sign in to comment.