diff options
author | 2021-06-30 11:03:44 +0300 | |
---|---|---|
committer | 2021-09-05 07:26:44 -0700 | |
commit | bfdeaa0b370b1e42000599bfc89d6ad4f24a506b (patch) | |
tree | edc41de4e193a2645f2293b3f986a6182c5eb51a /policy/modules/services/ntp.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/ntp.if')
-rw-r--r-- | policy/modules/services/ntp.if | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/policy/modules/services/ntp.if b/policy/modules/services/ntp.if index 1044c6b4..4953e9f0 100644 --- a/policy/modules/services/ntp.if +++ b/policy/modules/services/ntp.if @@ -143,9 +143,9 @@ interface(`ntp_initrc_domtrans',` ## Read ntp conf files. ## </summary> ## <param name="domain"> -## <summary> -## Domain allowed access. -## </summary> +## <summary> +## Domain allowed access. +## </summary> ## </param> # interface(`ntp_read_conf_files',` |