Skip to content

Commit 8d9b2e1

Browse files
authored
Merge pull request #26129 from zhangguanzhang/kubectl-plugin
[zh] Fix some nits in kubectl-plugins.md
2 parents 238c215 + 5a7e944 commit 8d9b2e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/zh/docs/tasks/extend-kubectl/kubectl-plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ It is currently not possible to create plugins that overwrite existing `kubectl`
9494

9595
目前无法创建覆盖现有 `kubectl` 命令的插件。
9696
例如,创建一个插件 `kubectl-version` 将导致该插件永远不会被执行,
97-
因为现有的 `kubectl-version` 命令总是优先于它执行。
97+
因为现有的 `kubectl version` 命令总是优先于它执行。
9898
由于这个限制,也不可能使用插件将新的子命令添加到现有的 `kubectl` 命令中。
9999
例如,通过将插件命名为 `kubectl-create-foo` 来添加子命令 `kubectl create foo` 将导致该插件被忽略。
100100

0 commit comments

Comments
 (0)