summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-07-03 06:11:03 -0400
committerGitHub <noreply@github.com>2021-07-03 06:11:03 -0400
commit07716133c44c9c9593364029f4b98085d1be3bdd (patch)
treeca1b03c22f1c40c793fe6fe30c99aee8cd3d7558 /cmd/podman
parent878a2231f9eae037d15bc27c50cdf3a9418793c7 (diff)
parent84da70a0f36e7d6fc87919ca4a69b20bc9d43f72 (diff)
downloadpodman-07716133c44c9c9593364029f4b98085d1be3bdd.tar.gz
podman-07716133c44c9c9593364029f4b98085d1be3bdd.tar.bz2
podman-07716133c44c9c9593364029f4b98085d1be3bdd.zip
Merge pull request #10852 from Luap99/cobra
bump cobra to v1.2.1 and update the shell completion scripts
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/completion/completion.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/completion/completion.go b/cmd/podman/completion/completion.go
index da74eefdd..12fba9a54 100644
--- a/cmd/podman/completion/completion.go
+++ b/cmd/podman/completion/completion.go
@@ -65,7 +65,7 @@ func completion(cmd *cobra.Command, args []string) error {
var err error
switch args[0] {
case "bash":
- err = cmd.Root().GenBashCompletion(w)
+ err = cmd.Root().GenBashCompletionV2(w, !noDesc)
case "zsh":
if noDesc {
err = cmd.Root().GenZshCompletionNoDesc(w)