Skip to content

Commit f09b667

Browse files
committed
docs: share --reload-systemd option between quadlet install and rm
Extract the --reload-systemd option text into a shared option file at docs/source/markdown/options/reload-systemd.md and reference it with @@option in both podman-quadlet-install and podman-quadlet-rm manpages, following the established pattern for shared options. Rename the manpages from .md to .md.in to indicate preprocessing. Fixes #28370 Signed-off-by: Kit Dallege <xaum.io@gmail.com>
1 parent 9df3dd9 commit f09b667

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
####> This option file is used in:
2+
####> podman quadlet install, quadlet rm
3+
####> If file is edited, make sure the changes
4+
####> are applicable to all of those.
5+
#### **--reload-systemd**
6+
7+
Reload systemd after the operation completes (default true).
8+
In order to disable it users need to manually set the value
9+
of this flag to `false`.

docs/source/markdown/podman-quadlet-install.1.md renamed to docs/source/markdown/podman-quadlet-install.1.md.in

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ Note: In case user wants to install Quadlet application then first path should b
2424

2525
## OPTIONS
2626

27-
#### **--reload-systemd**
28-
29-
Reload systemd after installing Quadlets (default true).
30-
In order to disable it users need to manually set the value
31-
of this flag to `false`.
27+
@@option reload-systemd
3228

3329
#### **--replace**, **-r**
3430

docs/source/markdown/podman-quadlet-rm.1.md renamed to docs/source/markdown/podman-quadlet-rm.1.md.in

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ Remove running quadlets.
2929

3030
Do not error for Quadlets that do not exist.
3131

32-
#### **--reload-systemd**
33-
34-
Reload systemd after removing Quadlets (default true).
35-
In order to disable it users need to manually set the value
36-
of this flag to `false`.
32+
@@option reload-systemd
3733

3834
## EXAMPLES
3935

0 commit comments

Comments
 (0)