Skip to content

Commit a92ca1b

Browse files
authored
Merge pull request #24810 from wwgfhf/wwg-kubectl-plugins
Update zh translation in kubectl-plugins.md
2 parents 01d0640 + f02cf00 commit a92ca1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ command containing dashes in its commandline invocation by using underscores (`_
313313
#### 带有破折号和下划线的名称
314314

315315
虽然 `kubectl` 插件机制在插件文件名中使用破折号(`-`)分隔插件处理的子命令序列,
316-
但是仍然可以通过在文件名中使用下划线(`-`)来创建命令行中包含破折号的插件命令。
316+
但是仍然可以通过在文件名中使用下划线(`_`)来创建命令行中包含破折号的插件命令。
317317

318318
<!-- Example: -->
319319
例子:
@@ -338,7 +338,7 @@ Note that the introduction of underscores to a plugin filename does not prevent
338338
The command from the above example, can be invoked using either a dash (`-`) or an underscore (`_`):
339339
-->
340340
请注意,在插件文件名中引入下划线并不会阻止我们使用 `kubectl foo_bar` 之类的命令。
341-
可以使用破折号(`-`)或下划线(`-`)调用上面示例中的命令:
341+
可以使用破折号(`-`)或下划线(`_`)调用上面示例中的命令:
342342

343343
```shell
344344
# 我们的插件也可以用破折号来调用

0 commit comments

Comments
 (0)