summaryrefslogtreecommitdiff
path: root/cmd/podman/utils
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-09-16 05:41:09 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-09-16 09:41:29 -0400
commit4216f7b7f492fee80cfc9a7f1deb608096edd890 (patch)
tree56ede81779ebfd2d02b2eea581a204706991db1b /cmd/podman/utils
parent9119a578e782b92bd344f093f5491c318bc20d69 (diff)
downloadpodman-4216f7b7f492fee80cfc9a7f1deb608096edd890.tar.gz
podman-4216f7b7f492fee80cfc9a7f1deb608096edd890.tar.bz2
podman-4216f7b7f492fee80cfc9a7f1deb608096edd890.zip
Add no-trunc support to podman-events
Standardize on no-trunc through the code. Alias notruncate where necessary. Standardize on the man page display of no-trunc. Fixes: https://github.com/containers/podman/issues/8941 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/utils')
-rw-r--r--cmd/podman/utils/alias.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/utils/alias.go b/cmd/podman/utils/alias.go
index 306e610d9..4d5b625d0 100644
--- a/cmd/podman/utils/alias.go
+++ b/cmd/podman/utils/alias.go
@@ -23,6 +23,8 @@ func AliasFlags(f *pflag.FlagSet, name string) pflag.NormalizedName {
name = "external"
case "purge":
name = "rm"
+ case "notruncate":
+ name = "no-trunc"
case "override-arch":
name = "arch"
case "override-os":