summaryrefslogtreecommitdiff
path: root/vendor/github.com/spf13/cobra/fish_completions.md
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2020-10-15 08:18:19 +0000
committerDaniel J Walsh <dwalsh@redhat.com>2020-10-15 04:46:01 -0400
commite6d3c492a0c47af88d629d905bed17cf46e464f1 (patch)
treeb836cb6b079679a1c4292ef6de709a64cc740a68 /vendor/github.com/spf13/cobra/fish_completions.md
parente4f6a1afae1f28b9d7509a2a1b3e8180decbbb57 (diff)
downloadpodman-e6d3c492a0c47af88d629d905bed17cf46e464f1.tar.gz
podman-e6d3c492a0c47af88d629d905bed17cf46e464f1.tar.bz2
podman-e6d3c492a0c47af88d629d905bed17cf46e464f1.zip
Bump github.com/spf13/cobra from 1.0.0 to 1.1.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.0.0 to 1.1.0. - [Release notes](https://github.com/spf13/cobra/releases) - [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md) - [Commits](https://github.com/spf13/cobra/compare/v1.0.0...v1.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/spf13/cobra/fish_completions.md')
-rw-r--r--vendor/github.com/spf13/cobra/fish_completions.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/vendor/github.com/spf13/cobra/fish_completions.md b/vendor/github.com/spf13/cobra/fish_completions.md
index 6bfe5f88e..19b2ed129 100644
--- a/vendor/github.com/spf13/cobra/fish_completions.md
+++ b/vendor/github.com/spf13/cobra/fish_completions.md
@@ -1,7 +1,4 @@
-## Generating Fish Completions for your own cobra.Command
+## Generating Fish Completions For Your cobra.Command
-Cobra supports native Fish completions generated from the root `cobra.Command`. You can use the `command.GenFishCompletion()` or `command.GenFishCompletionFile()` functions. You must provide these functions with a parameter indicating if the completions should be annotated with a description; Cobra will provide the description automatically based on usage information. You can choose to make this option configurable by your users.
+Please refer to [Shell Completions](shell_completions.md) for details.
-### Limitations
-
-* Custom completions implemented using the `ValidArgsFunction` and `RegisterFlagCompletionFunc()` are supported automatically but the ones implemented in Bash scripting are not.