summaryrefslogtreecommitdiff
path: root/cmd/podman/pods
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2020-11-23 23:32:48 +0100
committerPaul Holzinger <paul.holzinger@web.de>2020-11-23 23:45:33 +0100
commitf38e18959974901eec4b69bc904de910a4459da9 (patch)
tree75f0c7bb1ca5f642c6b023d3aeef3df729c8631d /cmd/podman/pods
parentcd6c4cb0affdb1e8a647079b2808da6bf833d543 (diff)
downloadpodman-f38e18959974901eec4b69bc904de910a4459da9.tar.gz
podman-f38e18959974901eec4b69bc904de910a4459da9.tar.bz2
podman-f38e18959974901eec4b69bc904de910a4459da9.zip
Implement shell completion for podman top
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'cmd/podman/pods')
-rw-r--r--cmd/podman/pods/top.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pods/top.go b/cmd/podman/pods/top.go
index 45ef1e7c2..829882080 100644
--- a/cmd/podman/pods/top.go
+++ b/cmd/podman/pods/top.go
@@ -29,7 +29,7 @@ var (
Long: topDescription,
RunE: top,
Args: cobra.ArbitraryArgs,
- ValidArgsFunction: common.AutocompletePodsRunning,
+ ValidArgsFunction: common.AutocompleteTopCmd,
Example: `podman pod top podID
podman pod top --latest
podman pod top podID pid seccomp args %C