diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-05 00:14:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 00:14:10 +0200 |
commit | b506f6ebb7e49e054c3b45c481109637cbd6b20f (patch) | |
tree | 7ad16c061fd0b3662be0936cf8f7870f05dd44ac | |
parent | 7cc2543433d993144dadc3e12ca77c9e07b73809 (diff) | |
parent | b9df3a6a9f9f68e8ddb1a46e49fb19783187810e (diff) | |
download | podman-b506f6ebb7e49e054c3b45c481109637cbd6b20f.tar.gz podman-b506f6ebb7e49e054c3b45c481109637cbd6b20f.tar.bz2 podman-b506f6ebb7e49e054c3b45c481109637cbd6b20f.zip |
Merge pull request #15625 from edsantiago/docs_dedup_label
[CI:DOCS] Man pages: refactor common options: --label
-rw-r--r-- | docs/source/markdown/options/label.md | 3 | ||||
-rw-r--r-- | docs/source/markdown/podman-create.1.md.in | 4 | ||||
-rw-r--r-- | docs/source/markdown/podman-pod-clone.1.md.in | 4 | ||||
-rw-r--r-- | docs/source/markdown/podman-pod-create.1.md.in | 4 | ||||
-rw-r--r-- | docs/source/markdown/podman-run.1.md.in | 4 |
5 files changed, 7 insertions, 12 deletions
diff --git a/docs/source/markdown/options/label.md b/docs/source/markdown/options/label.md new file mode 100644 index 000000000..629aa82e6 --- /dev/null +++ b/docs/source/markdown/options/label.md @@ -0,0 +1,3 @@ +#### **--label**, **-l**=*key=value* + +Add metadata to a <<container|pod>>. diff --git a/docs/source/markdown/podman-create.1.md.in b/docs/source/markdown/podman-create.1.md.in index 4fe50caed..25726af8c 100644 --- a/docs/source/markdown/podman-create.1.md.in +++ b/docs/source/markdown/podman-create.1.md.in @@ -260,9 +260,7 @@ To specify multiple static IPv6 addresses per container, set multiple networks u @@option ipc -#### **--label**, **-l**=*label* - -Add metadata to a container (e.g., --label com.example.key=value) +@@option label @@option label-file diff --git a/docs/source/markdown/podman-pod-clone.1.md.in b/docs/source/markdown/podman-pod-clone.1.md.in index 24edc44ec..e2e08d2a6 100644 --- a/docs/source/markdown/podman-pod-clone.1.md.in +++ b/docs/source/markdown/podman-pod-clone.1.md.in @@ -66,9 +66,7 @@ Print usage statement. @@option infra-name -#### **--label**, **-l**=*label* - -Add metadata to a pod (e.g., --label com.example.key=value). +@@option label @@option label-file diff --git a/docs/source/markdown/podman-pod-create.1.md.in b/docs/source/markdown/podman-pod-create.1.md.in index 35d06fa00..f3d6884c5 100644 --- a/docs/source/markdown/podman-pod-create.1.md.in +++ b/docs/source/markdown/podman-pod-create.1.md.in @@ -130,9 +130,7 @@ The address must be within the network's IPv6 address pool. To specify multiple static IPv6 addresses per pod, set multiple networks using the **--network** option with a static IPv6 address specified for each using the `ip6` mode for that option. -#### **--label**, **-l**=*label* - -Add metadata to a pod (e.g., --label com.example.key=value). +@@option label @@option label-file diff --git a/docs/source/markdown/podman-run.1.md.in b/docs/source/markdown/podman-run.1.md.in index 64affa238..a32bf4781 100644 --- a/docs/source/markdown/podman-run.1.md.in +++ b/docs/source/markdown/podman-run.1.md.in @@ -280,9 +280,7 @@ To specify multiple static IPv6 addresses per container, set multiple networks u @@option ipc -#### **--label**, **-l**=*key=value* - -Add metadata to a container. +@@option label @@option label-file |