diff --git a/docs/cmd/kn_plugin_list.md b/docs/cmd/kn_plugin_list.md index 70b5d8a8d7..f424b55053 100644 --- a/docs/cmd/kn_plugin_list.md +++ b/docs/cmd/kn_plugin_list.md @@ -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) ``` diff --git a/pkg/kn/commands/plugin/list.go b/pkg/kn/commands/plugin/list.go index 6a8e1ea621..df99444ac2 100644 --- a/pkg/kn/commands/plugin/list.go +++ b/pkg/kn/commands/plugin/list.go @@ -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)