mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
Fix documentation inconsistency about labels
Fixes #28120 Signed-off-by: Ivan Tkachenko <me@ratijas.me>
This commit is contained in:
@@ -104,7 +104,8 @@ Enable IPv6 (Dual Stack) networking. If no subnets are given, it allocates an ip
|
||||
|
||||
#### **--label**=*label*
|
||||
|
||||
Set metadata for a network (e.g., --label mykey=value).
|
||||
Set metadata for the network (e.g., `--label mykey=value`). Can be used multiple times.
|
||||
These labels can be viewed in `podman network inspect` or `podman network ls`.
|
||||
|
||||
#### **--opt**, **-o**=*option*
|
||||
|
||||
|
||||
@@ -44,9 +44,10 @@ If a secret with the same name already exists, do not return an error and return
|
||||
Cannot be used with `--replace`.
|
||||
The default is **false**.
|
||||
|
||||
#### **--label**, **-l**=*key=val1,key2=val2*
|
||||
#### **--label**, **-l**=*label*
|
||||
|
||||
Add label to secret. These labels can be viewed in podman secrete inspect or ls.
|
||||
Set metadata for the secret (e.g., `--label mykey=value`). Can be used multiple times.
|
||||
These labels can be viewed in `podman secret inspect` or `podman secret ls`.
|
||||
|
||||
#### **--replace**=*false*
|
||||
|
||||
|
||||
@@ -42,7 +42,8 @@ Don't fail if the named volume already exists, instead just print the name. Note
|
||||
|
||||
#### **--label**, **-l**=*label*
|
||||
|
||||
Set metadata for a volume (e.g., --label mykey=value).
|
||||
Set metadata for the volume (e.g., `--label mykey=value`). Can be used multiple times.
|
||||
These labels can be viewed in `podman volume inspect` or `podman volume ls`.
|
||||
|
||||
#### **--opt**, **-o**=*option*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user