From 2e00cabe43a0e67582165e118c6ab9cbfbb50966 Mon Sep 17 00:00:00 2001 From: cpfair Date: Tue, 12 Jan 2016 16:26:51 +0000 Subject: [PATCH] Untranspose __custom_func in docs table --- bash_completions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bash_completions.md b/bash_completions.md index ea8cc05a..d71c1ab5 100644 --- a/bash_completions.md +++ b/bash_completions.md @@ -25,10 +25,10 @@ That will get you completions of subcommands and flags. If you make additional a The `BashCompletionFunction` member can be used to define bash functions which generate completion suggestions. Within `BashCompletionFunction` you can define some of the following four bash functions, which should modify `COMPREPLY` as appropriate. -| Function | Runs always | Runs when no earlier handler produced completion results | -| ------- | ----------- | -------------------------------------------------------- | -| **Runs for Command** | `__custom_unconditional_command_func` | `__custom_command_func` | -| **Runs for Command & children** | `__custom_func` | `__custom_unconditional_func` | +| Function | Runs always | Runs when no earlier handler produced completion results | +| ------------------------------- | ------------------------------------- | -------------------------------------------------------- | +| **Runs for Command** | `__custom_unconditional_command_func` | `__custom_command_func` | +| **Runs for Command & children** | `__custom_unconditional_func` | `__custom_func` | Some more actual code that works in kubernetes: