diff --git a/man/kernel-command-line.xml b/man/kernel-command-line.xml index a2a045d209..54213d31c6 100644 --- a/man/kernel-command-line.xml +++ b/man/kernel-command-line.xml @@ -802,11 +802,10 @@ systemd 252 + Kernel command-line arguments systemd.unified_cgroup_hierarchy and systemd.legacy_systemd_cgroup_controller were deprecated. Please switch to - the unified cgroup hierarchy. - - + the unified cgroup hierarchy. diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index f7b414da5c..b42a49f643 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -754,10 +754,9 @@ systemd 252 - Option DefaultBlockIOAccounting= was deprecated. Please switch - to the unified cgroup hierarchy. - + Option DefaultBlockIOAccounting= was deprecated. Please switch + to the unified cgroup hierarchy. diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index a2f1bc02ba..aefee94cac 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -1689,7 +1689,8 @@ DeviceAllow=/dev/loop-control systemd 252 - Options for controlling the Legacy Control Group Hierarchy (Options for controlling the Legacy Control Group Hierarchy (Control Groups version 1) are now fully deprecated: CPUShares=weight, @@ -1703,9 +1704,7 @@ DeviceAllow=/dev/loop-control BlockIOReadBandwidth=device bytes, BlockIOWriteBandwidth=device bytes. - Please switch to the unified cgroup hierarchy. - - + Please switch to the unified cgroup hierarchy. diff --git a/man/systemd.xml b/man/systemd.xml index 88dd158021..857c942eed 100644 --- a/man/systemd.xml +++ b/man/systemd.xml @@ -1507,11 +1507,10 @@ systemd 252 + Kernel command-line arguments systemd.unified_cgroup_hierarchy and systemd.legacy_systemd_cgroup_controller were deprecated. Please switch to - the unified cgroup hierarchy. - - + the unified cgroup hierarchy. diff --git a/tools/check-version-history.py b/tools/check-version-history.py index efd7023762..dce2b6abd1 100644 --- a/tools/check-version-history.py +++ b/tools/check-version-history.py @@ -75,9 +75,12 @@ def find_undocumented_commands(pages, ignorelist): parent = listitem if listitem is not None else varlistentry rev = parent.getchildren()[-1] - if rev.get("href") != "version-info.xml": - if (filename, path) not in ignorelist: + if ( + rev.get("href") != "version-info.xml" and + not path.startswith(tuple(entry[1] for entry in ignorelist if entry[0] == filename)) + ): undocumented.append((filename, path)) + return undocumented diff --git a/tools/command_ignorelist b/tools/command_ignorelist index 9408d5a5f9..0159054b8d 100644 --- a/tools/command_ignorelist +++ b/tools/command_ignorelist @@ -14,6 +14,7 @@ journald.conf.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="Co journald.conf.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="RateLimitIntervalSec="] journald.conf.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="SystemMaxUse="] journald.conf.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="ForwardToSyslog="] +kernel-command-line.xml ./refsect1[title="History"]/ kernel-install.xml ./refsect1[title="Commands"]/variablelist/varlistentry[term="add [[[KERNEL-VERSION] KERNEL-IMAGE] [INITRD-FILE ...]]"]/listitem/variablelist/varlistentry[term="50-depmod.install"] kernel-install.xml ./refsect1[title="Commands"]/variablelist/varlistentry[term="add [[[KERNEL-VERSION] KERNEL-IMAGE] [INITRD-FILE ...]]"]/listitem/variablelist/varlistentry[term="90-loaderentry.install"] kernel-install.xml ./refsect1[title="Commands"]/variablelist/varlistentry[term="add [[[KERNEL-VERSION] KERNEL-IMAGE] [INITRD-FILE ...]]"]/listitem/variablelist/varlistentry[term="90-uki-copy.install"] @@ -129,6 +130,7 @@ systemctl.xml ./refsect1[title="Commands"]/refsect2[title="System Commands"]/var systemctl.xml ./refsect1[title="Commands"]/refsect2[title="System Commands"]/variablelist/varlistentry[term="suspend"] systemctl.xml ./refsect1[title="Commands"]/refsect2[title="System Commands"]/variablelist/varlistentry[term="hibernate"] systemctl.xml ./refsect1[title="Commands"]/refsect2[title="System Commands"]/variablelist/varlistentry[term="switch-root ROOT INIT"] +systemd.xml ./refsect1[title="History"]/ systemd-ask-password.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="--icon="] systemd-ask-password.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="--timeout="] systemd-ask-password.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="--no-tty"] @@ -175,6 +177,7 @@ systemd-nspawn.xml ./refsect1[title="Options"]/refsect2[title="Execution Options systemd-nspawn.xml ./refsect1[title="Options"]/refsect2[title="System Identity Options"]/variablelist/varlistentry[term="--uuid="] systemd-nspawn.xml ./refsect1[title="Options"]/refsect2[title="Networking Options"]/variablelist/varlistentry[term="--private-network"] systemd-nspawn.xml ./refsect1[title="Options"]/refsect2[title="Image Options"]/variablelist/varlistentry[term="--read-only"] +systemd-system.conf.xml ./refsect1[title="History"]/ systemd-tmpfiles.xml ./refsect1[title="Commands and options"]/variablelist/varlistentry[term="--create"] systemd-tmpfiles.xml ./refsect1[title="Commands and options"]/variablelist/varlistentry[term="--clean"] systemd-tmpfiles.xml ./refsect1[title="Commands and options"]/variablelist/varlistentry[term="--remove"] @@ -249,6 +252,7 @@ systemd.path.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="Pat systemd.path.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="Unit="] systemd.path.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="MakeDirectory="] systemd.path.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="DirectoryMode="] +systemd.resource-control.xml ./refsect1[title="History"]/ systemd.service.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="Type="] systemd.service.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="RemainAfterExit="] systemd.service.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="GuessMainPID="]