diff options
author | Markus Linnala <Markus.Linnala@cybercom.com> | 2021-06-30 11:03:44 +0300 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2021-09-05 07:26:44 -0700 |
commit | bfdeaa0b370b1e42000599bfc89d6ad4f24a506b (patch) | |
tree | edc41de4e193a2645f2293b3f986a6182c5eb51a /policy/modules/services/lircd.if | |
parent | policy kismet: kismer_role: parameter order mixed in kismet_run (diff) | |
download | hardened-refpolicy-bfdeaa0b370b1e42000599bfc89d6ad4f24a506b.tar.gz hardened-refpolicy-bfdeaa0b370b1e42000599bfc89d6ad4f24a506b.tar.bz2 hardened-refpolicy-bfdeaa0b370b1e42000599bfc89d6ad4f24a506b.zip |
policy: interfaces: doc: indent param blocks consistently
There is more than 5000 parameter documentations. Only about 300 are
differently done. Change them to be consistently indented.
param with one space
and content inside with one tab
This was done with:
sed -ri '
/^##[[:space:]]*<param/,/^##[[:space:]]*<[/]param>/{
s/^##[[:space:]]*/##\t/;
s/^##[[:space:]]*(<[/]?summary)/##\t\1/;
s/^##[[:space:]]*(<[/]?param)/## \1/;
}' policy/modules/*/*.if
Signed-off-by: Markus Linnala <Markus.Linnala@cybercom.com>
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'policy/modules/services/lircd.if')
-rw-r--r-- | policy/modules/services/lircd.if | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/policy/modules/services/lircd.if b/policy/modules/services/lircd.if index 4e2fb2d0..d7cbf4dd 100644 --- a/policy/modules/services/lircd.if +++ b/policy/modules/services/lircd.if @@ -5,9 +5,9 @@ ## Execute a domain transition to run lircd. ## </summary> ## <param name="domain"> -## <summary> +## <summary> ## Domain allowed to transition. -## </summary> +## </summary> ## </param> # interface(`lircd_domtrans',` @@ -44,9 +44,9 @@ interface(`lircd_stream_connect',` ## Read lircd etc files. ## </summary> ## <param name="domain"> -## <summary> +## <summary> ## Domain allowed access. -## </summary> +## </summary> ## </param> # interface(`lircd_read_config',` |