summaryrefslogtreecommitdiff
path: root/cmd/podman/images/diff.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-05-25 15:07:45 -0400
committerGitHub <noreply@github.com>2022-05-25 15:07:45 -0400
commite11feb230923a169c1e235552afa2f7bec7f0fff (patch)
treea722f27f8d4963a7989f184677cbd4aa76e2bf1b /cmd/podman/images/diff.go
parent819e5bcb943c6f604fdc65be1c0387055e0a9f20 (diff)
parent338f0123706f31721e89c2e6223c7c493b577dc7 (diff)
downloadpodman-e11feb230923a169c1e235552afa2f7bec7f0fff.tar.gz
podman-e11feb230923a169c1e235552afa2f7bec7f0fff.tar.bz2
podman-e11feb230923a169c1e235552afa2f7bec7f0fff.zip
Merge pull request #14364 from jwhonce/wip/diff_todo
Remove unused archive flag from diff commands
Diffstat (limited to 'cmd/podman/images/diff.go')
-rw-r--r--cmd/podman/images/diff.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/podman/images/diff.go b/cmd/podman/images/diff.go
index 13a8f1d9d..a017d569d 100644
--- a/cmd/podman/images/diff.go
+++ b/cmd/podman/images/diff.go
@@ -34,9 +34,7 @@ func init() {
}
func diffFlags(flags *pflag.FlagSet) {
- diffOpts = &entities.DiffOptions{}
- flags.BoolVar(&diffOpts.Archive, "archive", true, "Save the diff as a tar archive")
- _ = flags.MarkDeprecated("archive", "Provided for backwards compatibility, has no impact on output.")
+ diffOpts = new(entities.DiffOptions)
formatFlagName := "format"
flags.StringVar(&diffOpts.Format, formatFlagName, "", "Change the output format (json)")