summaryrefslogtreecommitdiff
path: root/man/udevadm.xml
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-09-28 21:18:08 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2021-09-29 13:32:25 +0200
commit6c1482b28d79285004f64a10d8f6c372a9f1f226 (patch)
tree6fdbc95e28eca302d67570ab644b6bac663d6426 /man/udevadm.xml
parent3c318caa6f06d6a598b55fc3a9ad831212be4fa5 (diff)
downloadsystemd-6c1482b28d79285004f64a10d8f6c372a9f1f226.tar.gz
udev: teach udevadm --property=NAME and --value options
which allows limiting the properties listed by the `--query=property` option (and optionally listing only the respective values).
Diffstat (limited to 'man/udevadm.xml')
-rw-r--r--man/udevadm.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/man/udevadm.xml b/man/udevadm.xml
index 2704156840..6091a3421f 100644
--- a/man/udevadm.xml
+++ b/man/udevadm.xml
@@ -99,6 +99,24 @@
</varlistentry>
<varlistentry>
+ <term><option>--property=<replaceable>NAME</replaceable></option></term>
+ <listitem>
+ <para>When showing device properties using the <option>--query=property</option>
+ option, limit display to properties specified in the argument. The argument should
+ be a comma-separated list of property names. If not specified, all known properties
+ are shown.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--value</option></term>
+ <listitem>
+ <para>When showing device properties using the <option>--query=property</option>
+ option, print only their values, and skip the property name and <literal>=</literal>.</para>
+ <para>Cannot be used together with <option>-x/--export</option> or
+ <option>-P/--export-prefix</option>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>-p</option></term>
<term><option>--path=<replaceable>DEVPATH</replaceable></option></term>
<listitem>