summaryrefslogtreecommitdiff
path: root/cmd/podman/pods/unpause.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/pods/unpause.go')
-rw-r--r--cmd/podman/pods/unpause.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/pods/unpause.go b/cmd/podman/pods/unpause.go
index 15b30db14..499faec37 100644
--- a/cmd/podman/pods/unpause.go
+++ b/cmd/podman/pods/unpause.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,9 @@ var (
Args: func(cmd *cobra.Command, args []string) error {
return validate.CheckAllLatestAndCIDFile(cmd, args, false, false)
},
+ // TODO have a function which shows only pods which could be unpaused
+ // for now show all
+ ValidArgsFunction: common.AutocompletePods,
Example: `podman pod unpause podID1 podID2
podman pod unpause --all
podman pod unpause --latest`,