aboutsummaryrefslogtreecommitdiff
path: root/docs/source/markdown/options
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-08-15 12:31:30 -0600
committerEd Santiago <santiago@redhat.com>2022-08-15 12:31:30 -0600
commit22f3dd4c29de5be5338bdd33a8adbd201e98790d (patch)
treebd4a2a76df412b4703b598fe16212794f510ff79 /docs/source/markdown/options
parentfe54d404ffbb0b94d48f8a521016a75491652a91 (diff)
downloadpodman-22f3dd4c29de5be5338bdd33a8adbd201e98790d.tar.gz
podman-22f3dd4c29de5be5338bdd33a8adbd201e98790d.tar.bz2
podman-22f3dd4c29de5be5338bdd33a8adbd201e98790d.zip
Man pages: refactor common options: arch
Smaller, more reviewable chunks. This is just one option, --arch. Future PRs may, if the reviewing is easy, include multiple options. This one includes fixes to the preprocessor script, though: * big oops, I was not handling '<<something pod|something>>' where 'pod' appears other than the beginning of the string. * I was also not handling 'container<<| or pod>>', where one side was empty. * Behavior change: <<subcommand>>, on podman-pod-foo, becomes just 'foo' (not 'pod foo'). This will be useful in a future PR where we refactor --pod-id-file. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'docs/source/markdown/options')
-rw-r--r--docs/source/markdown/options/README.md2
-rw-r--r--docs/source/markdown/options/arch.md2
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/source/markdown/options/README.md b/docs/source/markdown/options/README.md
index b737fabf7..92f3d374e 100644
--- a/docs/source/markdown/options/README.md
+++ b/docs/source/markdown/options/README.md
@@ -42,3 +42,5 @@ This allows the shared use of examples in the option file:
```
Example: podman <<subcommand>> --foo --bar
```
+As a special case, `podman-pod-X` becomes just `X` (the "pod" is removed).
+This makes the `pod-id-file` man page more useful.
diff --git a/docs/source/markdown/options/arch.md b/docs/source/markdown/options/arch.md
new file mode 100644
index 000000000..005197707
--- /dev/null
+++ b/docs/source/markdown/options/arch.md
@@ -0,0 +1,2 @@
+#### **--arch**=*ARCH*
+Override the architecture, defaults to hosts, of the image to be pulled. For example, `arm`.