man: use standard-options for --no-ask-password everywhere
authorMike Yuan <me@yhndnzj.com>
Tue, 20 Aug 2024 10:32:57 +0000 (12:32 +0200)
committerMike Yuan <me@yhndnzj.com>
Wed, 21 Aug 2024 13:17:02 +0000 (15:17 +0200)
man/hostnamectl.xml
man/localectl.xml
man/loginctl.xml
man/networkctl.xml
man/resolvectl.xml
man/run0.xml
man/systemctl.xml
man/systemd-run.xml
man/timedatectl.xml

index 0f50bf9e44bdc2128523c33b4489a7352204f994..70a6d295f6bcf0977eb4b523adaf3bed973662be 100644 (file)
     <para>The following options are understood:</para>
 
     <variablelist>
-      <varlistentry>
-        <term><option>--no-ask-password</option></term>
-
-        <listitem><para>Do not query the user for authentication for
-        privileged operations.</para>
-
-        <xi:include href="version-info.xml" xpointer="v195"/></listitem>
-      </varlistentry>
-
       <varlistentry>
         <term><option>--static</option></term>
         <term><option>--transient</option></term>
       <xi:include href="user-system-options.xml" xpointer="host" />
       <xi:include href="user-system-options.xml" xpointer="machine" />
 
+      <xi:include href="standard-options.xml" xpointer="no-ask-password" />
       <xi:include href="standard-options.xml" xpointer="help" />
       <xi:include href="standard-options.xml" xpointer="version" />
       <xi:include href="standard-options.xml" xpointer="json" />
index be0df8cc118ec19410a080b5586c57c85e8765bd..4ee21b0e1177e8aae774c02e04dd9f468c79a16b 100644 (file)
         </listitem>
       </varlistentry>
 
-      <varlistentry>
-        <term><option>--no-ask-password</option></term>
-
-        <listitem><para>Do not query the user for authentication for
-        privileged operations.</para>
-
-        <xi:include href="version-info.xml" xpointer="v195"/></listitem>
-      </varlistentry>
-
       <varlistentry>
         <term><option>--no-convert</option></term>
 
       <xi:include href="user-system-options.xml" xpointer="host" />
       <xi:include href="user-system-options.xml" xpointer="machine" />
 
+      <xi:include href="standard-options.xml" xpointer="no-ask-password" />
       <xi:include href="standard-options.xml" xpointer="help" />
       <xi:include href="standard-options.xml" xpointer="version" />
       <xi:include href="standard-options.xml" xpointer="no-pager" />
index 099de1dfe5e961fa8587a561186832bda0d2f924..5a2eb3ba36e7ee10b0acced20e1fe8e869fc4719 100644 (file)
     <para>The following options are understood:</para>
 
     <variablelist>
-      <varlistentry>
-        <term><option>--no-ask-password</option></term>
-
-        <listitem><para>Do not query the user for authentication for
-        privileged operations.</para></listitem>
-      </varlistentry>
-
       <varlistentry>
         <term><option>-p</option></term>
         <term><option>--property=</option></term>
       <xi:include href="user-system-options.xml" xpointer="host" />
       <xi:include href="user-system-options.xml" xpointer="machine" />
 
+      <xi:include href="standard-options.xml" xpointer="no-ask-password" />
       <xi:include href="standard-options.xml" xpointer="no-pager" />
       <xi:include href="standard-options.xml" xpointer="no-legend" />
       <xi:include href="standard-options.xml" xpointer="json" />
index 6cc6d0df1ff1c168679638570348e7935d644d17..9c7e35b4b001ff8a29bde137474f89bd2e43e66c 100644 (file)
@@ -628,22 +628,12 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR)
         </listitem>
       </varlistentry>
 
+      <xi:include href="standard-options.xml" xpointer="no-ask-password" />
       <xi:include href="standard-options.xml" xpointer="json" />
       <xi:include href="standard-options.xml" xpointer="help" />
       <xi:include href="standard-options.xml" xpointer="version" />
       <xi:include href="standard-options.xml" xpointer="no-legend" />
       <xi:include href="standard-options.xml" xpointer="no-pager" />
-
-      <varlistentry>
-        <term><option>--no-ask-password</option></term>
-
-        <listitem>
-          <para>Do not query the user for authentication for privileged operations.</para>
-
-          <xi:include href="version-info.xml" xpointer="v257"/>
-        </listitem>
-      </varlistentry>
-
     </variablelist>
   </refsect1>
 
index 303aa932917dee200268e0288aa564254ff597fe..1cecd97631b2005b380f819ea65c46a3d023a556 100644 (file)
         <xi:include href="version-info.xml" xpointer="v256"/></listitem>
       </varlistentry>
 
-      <varlistentry>
-        <term><option>--no-ask-password</option></term>
-
-        <listitem>
-          <para>Do not query the user for authentication for privileged operations.</para>
-
-          <xi:include href="version-info.xml" xpointer="v257"/>
-        </listitem>
-      </varlistentry>
-
+      <xi:include href="standard-options.xml" xpointer="no-ask-password" />
       <xi:include href="standard-options.xml" xpointer="json" />
       <xi:include href="standard-options.xml" xpointer="j" />
       <xi:include href="standard-options.xml" xpointer="no-pager" />
index d7460d9d8c8657af122a2239234b61c019f93115..16438b54cbf81ce03585211b91ca1cae92531c26 100644 (file)
     <para>The following options are understood:</para>
 
     <variablelist>
-      <varlistentry>
-        <term><option>--no-ask-password</option></term>
-
-        <listitem><para>Do not query the user for authentication for privileged operations.</para>
-
-        <xi:include href="version-info.xml" xpointer="v256"/></listitem>
-      </varlistentry>
-
       <varlistentry>
         <term><option>--unit=</option></term>
 
         </listitem>
       </varlistentry>
 
+      <xi:include href="standard-options.xml" xpointer="no-ask-password" />
       <xi:include href="standard-options.xml" xpointer="help" />
       <xi:include href="standard-options.xml" xpointer="version" />
     </variablelist>
index 1cf5eaf08eb3e079e40ff98668fb458ea1c1c8b1..8561e1694428b7891799bc9d08e11b7a6da81bf2 100644 (file)
@@ -2449,26 +2449,6 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
         </listitem>
       </varlistentry>
 
-      <varlistentry>
-        <term><option>--no-ask-password</option></term>
-
-        <listitem>
-          <para>When used with <command>start</command> 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,
-          <command>systemctl</command> 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.</para>
-        </listitem>
-      </varlistentry>
-
       <varlistentry>
         <term><option>--kill-whom=</option></term>
 
@@ -2896,6 +2876,7 @@ EOF
       <xi:include href="user-system-options.xml" xpointer="machine" />
       <xi:include href="user-system-options.xml" xpointer="capsule" />
 
+      <xi:include href="standard-options.xml" xpointer="no-ask-password" />
       <xi:include href="standard-options.xml" xpointer="no-pager" />
       <xi:include href="standard-options.xml" xpointer="legend" />
       <xi:include href="standard-options.xml" xpointer="help" />
index 83c62afb5926b76e6711aa7cb1705b7c0ce5d219..77e61e688124d4426c042ff2fdf7b7662582e2fe 100644 (file)
     <para>The following options are understood:</para>
 
     <variablelist>
-      <varlistentry>
-        <term><option>--no-ask-password</option></term>
-
-        <listitem><para>Do not query the user for authentication for
-        privileged operations.</para>
-
-        <xi:include href="version-info.xml" xpointer="v226"/></listitem>
-      </varlistentry>
-
       <varlistentry>
         <term><option>--scope</option></term>
 
       <xi:include href="user-system-options.xml" xpointer="machine" />
       <xi:include href="user-system-options.xml" xpointer="capsule" />
 
+      <xi:include href="standard-options.xml" xpointer="no-ask-password" />
       <xi:include href="standard-options.xml" xpointer="help" />
       <xi:include href="standard-options.xml" xpointer="version" />
       <xi:include href="standard-options.xml" xpointer="json" />
index ece8833295ea1c5106953db9b55e05d31383d6ad..11c3a57ec0c10c997b9d41775bf58e0ebaab7f56 100644 (file)
     <para>The following options are understood:</para>
 
     <variablelist>
-      <varlistentry>
-        <term><option>--no-ask-password</option></term>
-
-        <listitem><para>Do not query the user for authentication for
-        privileged operations.</para>
-
-        <xi:include href="version-info.xml" xpointer="v195"/></listitem>
-      </varlistentry>
-
       <varlistentry>
         <term><option>--adjust-system-clock</option></term>
 
       <xi:include href="user-system-options.xml" xpointer="host" />
       <xi:include href="user-system-options.xml" xpointer="machine" />
 
+      <xi:include href="standard-options.xml" xpointer="no-ask-password" />
       <xi:include href="standard-options.xml" xpointer="help" />
       <xi:include href="standard-options.xml" xpointer="version" />
       <xi:include href="standard-options.xml" xpointer="no-pager" />