From 988ca0953ea151624d32f5e3cd92334f7533ed11 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Tue, 20 Aug 2024 12:32:57 +0200 Subject: [PATCH] man: use standard-options for --no-ask-password everywhere --- man/hostnamectl.xml | 10 +--------- man/localectl.xml | 10 +--------- man/loginctl.xml | 8 +------- man/networkctl.xml | 12 +----------- man/resolvectl.xml | 11 +---------- man/run0.xml | 9 +-------- man/systemctl.xml | 21 +-------------------- man/systemd-run.xml | 10 +--------- man/timedatectl.xml | 10 +--------- 9 files changed, 9 insertions(+), 92 deletions(-) diff --git a/man/hostnamectl.xml b/man/hostnamectl.xml index 0f50bf9e44b..70a6d295f6b 100644 --- a/man/hostnamectl.xml +++ b/man/hostnamectl.xml @@ -172,15 +172,6 @@ The following options are understood: - - - - Do not query the user for authentication for - privileged operations. - - - - @@ -198,6 +189,7 @@ + diff --git a/man/localectl.xml b/man/localectl.xml index be0df8cc118..4ee21b0e117 100644 --- a/man/localectl.xml +++ b/man/localectl.xml @@ -177,15 +177,6 @@ - - - - Do not query the user for authentication for - privileged operations. - - - - @@ -201,6 +192,7 @@ + diff --git a/man/loginctl.xml b/man/loginctl.xml index 099de1dfe5e..5a2eb3ba36e 100644 --- a/man/loginctl.xml +++ b/man/loginctl.xml @@ -306,13 +306,6 @@ The following options are understood: - - - - Do not query the user for authentication for - privileged operations. - - @@ -410,6 +403,7 @@ + diff --git a/man/networkctl.xml b/man/networkctl.xml index 6cc6d0df1ff..9c7e35b4b00 100644 --- a/man/networkctl.xml +++ b/man/networkctl.xml @@ -628,22 +628,12 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) + - - - - - - Do not query the user for authentication for privileged operations. - - - - - diff --git a/man/resolvectl.xml b/man/resolvectl.xml index 303aa932917..1cecd97631b 100644 --- a/man/resolvectl.xml +++ b/man/resolvectl.xml @@ -495,16 +495,7 @@ - - - - - Do not query the user for authentication for privileged operations. - - - - - + diff --git a/man/run0.xml b/man/run0.xml index d7460d9d8c8..16438b54cbf 100644 --- a/man/run0.xml +++ b/man/run0.xml @@ -70,14 +70,6 @@ The following options are understood: - - - - Do not query the user for authentication for privileged operations. - - - - @@ -210,6 +202,7 @@ + diff --git a/man/systemctl.xml b/man/systemctl.xml index 1cf5eaf08eb..8561e169442 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -2449,26 +2449,6 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err - - - - - When used with start and related - commands, disables asking for passwords. Background services - may require input of a password or passphrase string, for - example to unlock system hard disks or cryptographic - certificates. Unless this option is specified and the - command is invoked from a terminal, - systemctl will query the user on the - terminal for the necessary secrets. Use this option to - switch this behavior off. In this case, the password must be - supplied by some other means (for example graphical password - agents) or the service might fail. This also disables - querying the user for authentication for privileged - operations. - - - @@ -2896,6 +2876,7 @@ EOF + diff --git a/man/systemd-run.xml b/man/systemd-run.xml index 83c62afb592..77e61e68812 100644 --- a/man/systemd-run.xml +++ b/man/systemd-run.xml @@ -105,15 +105,6 @@ The following options are understood: - - - - Do not query the user for authentication for - privileged operations. - - - - @@ -528,6 +519,7 @@ + diff --git a/man/timedatectl.xml b/man/timedatectl.xml index ece8833295e..11c3a57ec0c 100644 --- a/man/timedatectl.xml +++ b/man/timedatectl.xml @@ -206,15 +206,6 @@ The following options are understood: - - - - Do not query the user for authentication for - privileged operations. - - - - @@ -285,6 +276,7 @@ +