Skip to content

Commit

Permalink
Add shared --compress to man pages
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Jan 3, 2023
1 parent b2da34e commit f9e8e8c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/source/markdown/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ podman-push.1.md
podman-restart.1.md
podman-rm.1.md
podman-run.1.md
podman-save.1.md
podman-search.1.md
podman-secret-ls.1.md
podman-start.1.md
Expand Down
7 changes: 7 additions & 0 deletions docs/source/markdown/options/dir-compress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
####> This option file is used in:
####> podman push, save
####> If file is edited, make sure the changes
####> are applicable to all of those.
#### **--compress**

Compress tarball image layers when pushing to a directory using the 'dir' transport. (default is same compression type, compressed or uncompressed, as source)
3 changes: 1 addition & 2 deletions docs/source/markdown/podman-push.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ $ podman push myimage oci-archive:/tmp/myimage

@@option cert-dir

#### **--compress**
@@option dir-compress

Compress tarball image layers when pushing to a directory using the 'dir' transport. (default is same compression type, compressed or uncompressed, as source)
Note: This flag can only be set when using the **dir** transport

@@option compression-format
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ Note: `:` is a restricted character and cannot be part of the file name.

## OPTIONS

#### **--compress**
@@option dir-compress

Compress tarball image layers when pushing to a directory using the 'dir' transport. (default is same compression type, compressed or uncompressed, as source)
Note: This flag can only be set with **--format=docker-dir**.

#### **--format**=*format*
Expand Down

0 comments on commit f9e8e8c

Please sign in to comment.