address additional comments from pr #10259 (#10422)

This commit is contained in:
Juan Vallejo
2018-10-04 00:31:57 -04:00
committed by k8s-ci-robot
parent 2a1899a646
commit 01677e2710
@@ -158,8 +158,8 @@ As you can see, our plugin was found based on the `kubectl` command specified by
#### Names with dashes and underscores #### Names with dashes and underscores
Although the `kubectl` plugin mechanism uses the dashes (`-`) in plugin filenames to determine the sequence of sub-commands that should invoke them, it is still possible to create a plugin Although the `kubectl` plugin mechanism uses the dash (`-`) in plugin filenames to separate the sequence of sub-commands processed by the plugin, it is still possible to create a plugin
command containing dashes in its commandline invocation by using underscores `_` in its filename. command containing dashes in its commandline invocation by using underscores (`_`) in its filename.
Example: Example:
@@ -191,7 +191,7 @@ I am a plugin with a dash in my name
#### Name conflicts and overshadowing #### Name conflicts and overshadowing
It can be possible to have multiple pluins with the same filename in different locations throughout your PATH. It can be possible to have multiple plugins with the same filename in different locations throughout your PATH.
For example, given a PATH with the following value: `PATH=/usr/local/bin/plugins:/usr/local/bin/moreplugins`, a copy of plugin `kubectl-foo` could exist in `/usr/local/bin/plugins` and `/usr/local/bin/moreplugins`, For example, given a PATH with the following value: `PATH=/usr/local/bin/plugins:/usr/local/bin/moreplugins`, a copy of plugin `kubectl-foo` could exist in `/usr/local/bin/plugins` and `/usr/local/bin/moreplugins`,
such that the output of the `kubectl plugin list` command is: such that the output of the `kubectl plugin list` command is: