We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8ee87 commit 87ebcd8Copy full SHA for 87ebcd8
shell_completions.md
@@ -162,16 +162,7 @@ cmd := &cobra.Command{
162
}
163
```
164
165
-The aliases are not shown to the user on tab completion, but they are accepted as valid nouns by
166
-the completion algorithm if entered manually, e.g. in:
167
-
168
-```bash
169
-$ kubectl get rc [tab][tab]
170
-backend frontend database
171
-```
172
173
-Note that without declaring `rc` as an alias, the completion algorithm would not know to show the list of
174
-replication controllers following `rc`.
+The aliases are shown to the user on tab completion only if no completions were found within sub-commands or `ValidArgs`.
175
176
### Dynamic completion of nouns
177
0 commit comments