spiegel_podman/docs/source/markdown/options
Ed Santiago 5c9bac141e Man pages: refactor common options: --cpus
Only on podman create and run: the --cpus option on container-clone
and pod-clone can probably be combined, but maybe later. pod-create
has unique wording that can't be combined.

This is a freebie to review: the text in both files was already
identical, and I made no changes to it. hack/markdown-preprocess-review
will agree, and show you no diffs, because there are none worth
seeing.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2022-08-23 08:04:36 -06:00
..
add-host.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
annotation.container.md Man pages: refactor common options: --annotation 2022-08-16 07:04:48 -06:00
arch.md [CI:DOCS] elaborate on image lookups of foreign platforms 2022-08-22 16:38:20 +02:00
authfile.md Man pages: refactor common options: authfile 2022-08-16 09:13:38 -06:00
blkio-weight-device.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
blkio-weight.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cap-add.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
cap-drop.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
cert-dir.md Man pages: refactor common options: cert-dir 2022-08-22 05:52:20 -06:00
cgroup-conf.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
cgroup-parent.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
cgroupns.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
cgroups.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
chrootdirs.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
cidfile.read.md Man pages: refactor common options: --cidfile 2022-08-22 12:17:20 -06:00
cidfile.write.md Man pages: refactor common options: --cidfile 2022-08-22 12:17:20 -06:00
conmon-pidfile.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
cpu-period.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpu-quota.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpu-rt-period.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpu-rt-runtime.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpu-shares.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpus.container.md Man pages: refactor common options: --cpus 2022-08-23 08:04:36 -06:00
cpuset-cpus.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpuset-mems.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
creds.md Man pages: refactor common options: --creds 2022-08-22 09:39:37 -06:00
destroy.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
entrypoint.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
env-host.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
expose.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
group-add.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
health-cmd.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
health-interval.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
health-retries.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
health-start-period.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
health-timeout.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
hostname.container.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
hostname.pod.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
hostuser.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
image-volume.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
infra-command.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
infra-conmon-pidfile.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
infra-name.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
init-path.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
init.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
label-file.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
link-local-ip.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
log-driver.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
mac-address.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
memory-swappiness.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
mount.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
network-alias.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
no-healthcheck.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
no-hosts.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
oom-kill-disable.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
oom-score-adj.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
passwd-entry.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
personality.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
pid.pod.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
pidfile.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
pids-limit.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
platform.md [CI:DOCS] elaborate on image lookups of foreign platforms 2022-08-22 16:38:20 +02:00
pod-id-file.container.md Man pages: refactor common options: --pod-id-file 2022-08-22 18:37:38 -06:00
pod-id-file.pod.md Man pages: refactor common options: --pod-id-file 2022-08-22 18:37:38 -06:00
pull.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
read-only-tmpfs.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
read-only.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
README.md Man pages: refactor common options: arch 2022-08-15 12:31:30 -06:00
replace.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
requires.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
sdnotify.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
seccomp-policy.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
secret.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
stop-signal.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
stop-timeout.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
timeout.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
tmpfs.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
tz.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
uidmap.container.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
uidmap.pod.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
ulimit.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
umask.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
unsetenv-all.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
unsetenv.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
uts.container.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
uts.pod.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00

Common Man Page Options

This subdirectory contains option (flag) names and descriptions common to multiple podman man pages. Each file is one option. The filename does not necessarily need to be identical to the option name: for instance, hostname.container.md and hostname.pod.md exist because the --hostname option is sufficiently different between podman-{create,run} and podman-pod-{create,run} to warrant living separately.

How

The files here are included in podman-*.md.in files using the @@option mechanism:

@@option foo           ! will include options/foo.md

The tool that does this is hack/markdown-preprocess. It is a python script because it needs to run on readthedocs.io. From a given .md.in file, this script will create a .md file that can then be read by go-md2man, sphinx, anything that groks markdown. This runs as part of make docs.

Special Substitutions

Some options are almost identical except for 'pod' vs 'container' differences. For those, use <<text for pods|text for containers>>. Order is immaterial: the important thing is the presence of the string "pod" in one half but not the other. The correct string will be chosen based on the filename: if the file contains -pod, such as podman-pod-create, the string with pod (case-insensitive) in it will be chosen.

The string <<subcommand>> will be replaced with the podman subcommand as determined from the filename, e.g., create for podman-create.1.md.in. 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.