summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-06-07 16:08:45 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-07-09 19:03:12 +0200
commit98af14bf53e0aeebf9d88b8f1c202a31ae7bb753 (patch)
treef8bd7bf10d37587ebcd00e4cc8b175812b89e2bb
parent038f5f92b1540fa14b82cc5d11919081de4928e4 (diff)
downloadsystemd-98af14bf53e0aeebf9d88b8f1c202a31ae7bb753.tar.gz
udevadm: fix --tag-match help + description
(cherry picked from commit d27e6aee5050da17bc9531fb62ac11aba4b15ceb)
-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 9f89783521..dbcaf16c82 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 ade92286d4..3e0bb2eda4 100644
--- a/src/udev/udevadm-trigger.c
+++ b/src/udev/udevadm-trigger.c
@@ -156,7 +156,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"