summaryrefslogtreecommitdiff
path: root/cmd/podman/system/unshare.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/system/unshare.go')
-rw-r--r--cmd/podman/system/unshare.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/system/unshare.go b/cmd/podman/system/unshare.go
index 2d0113779..437cf7b2e 100644
--- a/cmd/podman/system/unshare.go
+++ b/cmd/podman/system/unshare.go
@@ -3,6 +3,7 @@ package system
import (
"os"
+ "github.com/containers/common/pkg/completion"
"github.com/containers/podman/v2/cmd/podman/registry"
"github.com/containers/podman/v2/pkg/domain/entities"
"github.com/containers/podman/v2/pkg/rootless"
@@ -18,6 +19,7 @@ var (
Short: "Run a command in a modified user namespace",
Long: unshareDescription,
RunE: unshare,
+ ValidArgsFunction: completion.AutocompleteDefault,
Example: `podman unshare id
podman unshare cat /proc/self/uid_map,
podman unshare podman-script.sh`,