summaryrefslogtreecommitdiff
path: root/cmd/podman/pods/top.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-24 11:24:14 +0100
committerGitHub <noreply@github.com>2020-11-24 11:24:14 +0100
commit5267e73db0814a6af9704aae62d600b08df80774 (patch)
tree1f521c9b5844467db383c143ac14bca5696f670a /cmd/podman/pods/top.go
parent4fe7c3f7bc8a1d20a23e87783b6a17b887c782e1 (diff)
parentf38e18959974901eec4b69bc904de910a4459da9 (diff)
downloadpodman-5267e73db0814a6af9704aae62d600b08df80774.tar.gz
podman-5267e73db0814a6af9704aae62d600b08df80774.tar.bz2
podman-5267e73db0814a6af9704aae62d600b08df80774.zip
Merge pull request #8461 from Luap99/top-shell-completion
Implement shell completion for podman top
Diffstat (limited to 'cmd/podman/pods/top.go')
-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