summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-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)