summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-01 21:39:50 +0100
committerGitHub <noreply@github.com>2020-12-01 21:39:50 +0100
commit4b5cb7b1de3caecf0f78f264d5931066851c6a37 (patch)
tree7729f6606939696c8afb77e299afece4e496c2b3 /cmd
parent737e1d1994465538e4f9bd8cbd7dbe4ffcd72065 (diff)
parent3d4a0e42b3ef1f36d7bdfd211ad0e8cb43b242e6 (diff)
downloadpodman-4b5cb7b1de3caecf0f78f264d5931066851c6a37.tar.gz
podman-4b5cb7b1de3caecf0f78f264d5931066851c6a37.tar.bz2
podman-4b5cb7b1de3caecf0f78f264d5931066851c6a37.zip
Merge pull request #8534 from Luap99/revert-Luap99-cobra-vendor
Revert the custom cobra vendor
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/completion/completion.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/podman/completion/completion.go b/cmd/podman/completion/completion.go
index ead8d1f05..84942a508 100644
--- a/cmd/podman/completion/completion.go
+++ b/cmd/podman/completion/completion.go
@@ -67,11 +67,7 @@ func completion(cmd *cobra.Command, args []string) error {
var err error
switch args[0] {
case "bash":
- if noDesc {
- err = cmd.Root().GenBashCompletion(w)
- } else {
- err = cmd.Root().GenBashCompletionWithDesc(w)
- }
+ err = cmd.Root().GenBashCompletion(w)
case "zsh":
if noDesc {
err = cmd.Root().GenZshCompletionNoDesc(w)