summaryrefslogtreecommitdiff
path: root/cmd/podman/common
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-04-19 15:39:23 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-04-19 16:30:26 -0400
commita2077e5eae271ec7a5288a5e72f30e96ee4df45b (patch)
treef6145a04cbb1e4cb1c70259a3c1d5ec9235b3e00 /cmd/podman/common
parent712c3bb226a84c8a5593d62648975611cea7839d (diff)
downloadpodman-a2077e5eae271ec7a5288a5e72f30e96ee4df45b.tar.gz
podman-a2077e5eae271ec7a5288a5e72f30e96ee4df45b.tar.bz2
podman-a2077e5eae271ec7a5288a5e72f30e96ee4df45b.zip
Add missing events to podman-events man page
[NO NEW TESTS NEEDED] Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/common')
-rw-r--r--cmd/podman/common/completion.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/podman/common/completion.go b/cmd/podman/common/completion.go
index 1c0065006..3d36162ee 100644
--- a/cmd/podman/common/completion.go
+++ b/cmd/podman/common/completion.go
@@ -1057,10 +1057,10 @@ func getStructFields(f reflect.Value, prefix string) []string {
// -> "container=", "event=", "image=", "pod=", "volume=", "type="
func AutocompleteEventFilter(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
eventTypes := func(_ string) ([]string, cobra.ShellCompDirective) {
- return []string{"attach", "checkpoint", "cleanup", "commit", "create", "exec",
- "export", "import", "init", "kill", "mount", "pause", "prune", "remove",
- "restart", "restore", "start", "stop", "sync", "unmount", "unpause",
- "pull", "push", "save", "tag", "untag", "refresh", "renumber",
+ return []string{"attach", "checkpoint", "cleanup", "commit", "connect", "create", "disconnect", "exec",
+ "exec_died", "exited", "export", "import", "init", "kill", "loadFromArchive", "mount", "pause",
+ "prune", "pull", "push", "refresh", "remove", "rename", "renumber", "restart", "restore", "save",
+ "start", "stop", "sync", "tag", "unmount", "unpause", "untag",
}, cobra.ShellCompDirectiveNoFileComp
}
kv := keyValueCompletion{