summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-06-07 16:08:45 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-06-08 01:47:01 +0900
commitd27e6aee5050da17bc9531fb62ac11aba4b15ceb (patch)
tree12699d529648a8aad1d320422ea73cab2ca6f8d0
parent071826601707804b485bdb0e77fa5bf2097b2295 (diff)
downloadsystemd-d27e6aee5050da17bc9531fb62ac11aba4b15ceb.tar.gz
udevadm: fix --tag-match help + description
-rw-r--r--man/udevadm.xml2
-rw-r--r--src/udev/udevadm-trigger.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/man/udevadm.xml b/man/udevadm.xml
index 531a88d8a3..90adc64543 100644
--- a/man/udevadm.xml
+++ b/man/udevadm.xml
@@ -332,7 +332,7 @@
</varlistentry>
<varlistentry>
<term><option>-g</option></term>
- <term><option>--tag-match=<replaceable>PROPERTY</replaceable></option></term>
+ <term><option>--tag-match=<replaceable>TAG</replaceable></option></term>
<listitem>
<para>Trigger events for devices with a matching tag. When this option is specified multiple times,
then each matching result is ANDed, that is, devices which have all specified tags are triggered.</para>
diff --git a/src/udev/udevadm-trigger.c b/src/udev/udevadm-trigger.c
index dc68f38d03..984ec1b84b 100644
--- a/src/udev/udevadm-trigger.c
+++ b/src/udev/udevadm-trigger.c
@@ -222,7 +222,7 @@ static int help(void) {
" -a --attr-match=FILE[=VALUE] Trigger devices with a matching attribute\n"
" -A --attr-nomatch=FILE[=VALUE] Exclude devices with a matching attribute\n"
" -p --property-match=KEY=VALUE Trigger devices with a matching property\n"
- " -g --tag-match=KEY=VALUE Trigger devices with a matching property\n"
+ " -g --tag-match=TAG Trigger devices with a matching tag\n"
" -y --sysname-match=NAME Trigger devices with this /sys path\n"
" --name-match=NAME Trigger devices with this /dev name\n"
" -b --parent-match=NAME Trigger devices with that parent device\n"