summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-create.1.md
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-03-10 14:03:50 -0600
committerEd Santiago <santiago@redhat.com>2020-03-10 15:03:59 -0600
commit281def2647142acd1a901332391bd25f96169286 (patch)
tree0a52c1d1fe2c1235d351d0606ff1cead5219f1d7 /docs/source/markdown/podman-create.1.md
parentfe49daa3c2e83bd0ec8ee36ec156b73967f4f0da (diff)
downloadpodman-281def2647142acd1a901332391bd25f96169286.tar.gz
podman-281def2647142acd1a901332391bd25f96169286.tar.bz2
podman-281def2647142acd1a901332391bd25f96169286.zip
man pages: fix inconsistencies
I wrote a script to cross-reference podman --help against man pages. It found a bunch of inconsistencies fix them: * options missing from man pages * options misspelled or misformatted in man pages (usually misplaced asterisks or missing dashes, but see --dns-opt) * one spurious comma in the actual source file --help This is a fix in which I iterate over 'podman CMD --help' and check for presence in man pages. The other way around (look for flags in man pages, check podman CMD --help) is probably impossible: there are too many special cases Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-create.1.md')
-rw-r--r--docs/source/markdown/podman-create.1.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/source/markdown/podman-create.1.md b/docs/source/markdown/podman-create.1.md
index 23106fe76..af66d7911 100644
--- a/docs/source/markdown/podman-create.1.md
+++ b/docs/source/markdown/podman-create.1.md
@@ -251,9 +251,9 @@ is the case the **--dns** flags is necessary for every run.
The special value **none** can be specified to disable creation of **/etc/resolv.conf** in the container by Podman.
The **/etc/resolv.conf** file in the image will be used without changes.
-**--dns-option**=*option*
+**--dns-opt**=*option*
-Set custom DNS options. Invalid if using **--dns-option** and **--network** that is set to 'none' or 'container:<name|id>'.
+Set custom DNS options. Invalid if using **--dns-opt** and **--network** that is set to 'none' or 'container:<name|id>'.
**--dns-search**=*domain*
@@ -334,7 +334,7 @@ The initialization time needed for a container to bootstrap. The value can be ex
The maximum time allowed to complete the healthcheck before an interval is considered failed. Like start-period, the
value can be expressed in a time format such as `1m22s`. The default value is `30s`.
-**--hostname**=*name*
+**-h**, **--hostname**=*name*
Container host name
@@ -381,7 +381,7 @@ Run an init inside the container that forwards signals and reaps processes.
Path to the container-init binary.
-**--interactive**, **i**=*true|false*
+**--interactive**, **-i**=*true|false*
Keep STDIN open even if not attached. The default is *false*.
@@ -548,7 +548,7 @@ This works for both background and foreground containers.
**--network**, **--net**="*bridge*"
-Set the Network mode for the container. Invalid if using **--dns**, **--dns-option**, or **--dns-search** with **--network** that is set to 'none' or 'container:<name|id>'.
+Set the Network mode for the container. Invalid if using **--dns**, **--dns-opt**, or **--dns-search** with **--network** that is set to 'none' or 'container:<name|id>'.
Valid values are: