]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: add more explanation about options for "udevadm test" 11519/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 22 Jan 2019 06:05:55 +0000 (15:05 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 22 Jan 2019 06:57:53 +0000 (15:57 +0900)
Closes #2476.

man/udevadm.xml

index 1a9b7847767fbfdecb1048caf77d35357eb1927f..1a60aef6cffc9a0213835c85af9372c54aadb43a 100644 (file)
           <term><option>-x</option></term>
           <term><option>--export</option></term>
           <listitem>
-            <para>Print output as key/value pairs. Values are enclosed in single quotes.</para>
+            <para>Print output as key/value pairs. Values are enclosed in single quotes.
+            This takes effects only when <option>--query=property</option> or
+            <option>--device-id-of-file=<replaceable>FILE</replaceable></option> is specified.</para>
           </listitem>
         </varlistentry>
         <varlistentry>
           <term><option>-P</option></term>
           <term><option>--export-prefix=<replaceable>NAME</replaceable></option></term>
           <listitem>
-            <para>Add a prefix to the key name of exported values.</para>
+            <para>Add a prefix to the key name of exported values.
+            This implies <option>--export</option>.</para>
           </listitem>
         </varlistentry>
         <varlistentry>
           <term><option>-d</option></term>
           <term><option>--device-id-of-file=<replaceable>FILE</replaceable></option></term>
           <listitem>
-            <para>Print major/minor numbers of the underlying device, where the file
-            lives on.</para>
+            <para>Print major/minor numbers of the underlying device, where the file lives on.
+            If this is specified, all positional arguments are ignored.</para>
           </listitem>
         </varlistentry>
         <varlistentry>