summaryrefslogtreecommitdiff
path: root/cmd/podman/pods/pause.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/pods/pause.go')
-rw-r--r--cmd/podman/pods/pause.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/pods/pause.go b/cmd/podman/pods/pause.go
index bba26f90d..108893173 100644
--- a/cmd/podman/pods/pause.go
+++ b/cmd/podman/pods/pause.go
@@ -4,6 +4,7 @@ import (
"context"
"fmt"
+ "github.com/containers/podman/v2/cmd/podman/common"
"github.com/containers/podman/v2/cmd/podman/registry"
"github.com/containers/podman/v2/cmd/podman/utils"
"github.com/containers/podman/v2/cmd/podman/validate"
@@ -23,6 +24,7 @@ var (
Args: func(cmd *cobra.Command, args []string) error {
return validate.CheckAllLatestAndCIDFile(cmd, args, false, false)
},
+ ValidArgsFunction: common.AutocompletePodsRunning,
Example: `podman pod pause podID1 podID2
podman pod pause --latest
podman pod pause --all`,