]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man/run0: remove the --user example for --machine=
authorMike Yuan <me@yhndnzj.com>
Wed, 8 May 2024 05:55:00 +0000 (13:55 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 8 May 2024 08:08:53 +0000 (10:08 +0200)
run0's --user= option is different from other tools,
and the whole point of run0 is to connect to the system
manager. So the example is spurious.

man/run0.xml

index c9be24da98031d0ffe34747477642c7807530d69..3c3d5622168de5c1f98c13927125b5a608d8dd33 100644 (file)
         </listitem>
       </varlistentry>
 
-      <xi:include href="user-system-options.xml" xpointer="machine" />
+      <varlistentry>
+        <term><option>-M</option></term>
+        <term><option>--machine=</option></term>
+
+        <listitem>
+          <para>Execute operation on a local container. Specify a container name to connect to, optionally
+          prefixed by a user name to connect as and a separating <literal>@</literal> character. If the special
+          string <literal>.host</literal> is used in place of the container name, a connection to the local
+          system is made. If the <literal>@</literal> syntax is not used, the connection is made as root user.
+          If the <literal>@</literal> syntax is used either the left hand side or the right hand side may be
+          omitted (but not both) in which case the local user name and <literal>.host</literal> are implied.
+          </para>
+
+          <xi:include href="version-info.xml" xpointer="v256"/>
+        </listitem>
+      </varlistentry>
+
       <xi:include href="standard-options.xml" xpointer="help" />
       <xi:include href="standard-options.xml" xpointer="version" />
     </variablelist>