]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udevadm: fix --tag-match help + description
authorLennart Poettering <lennart@poettering.net>
Mon, 7 Jun 2021 14:08:45 +0000 (16:08 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 7 Jun 2021 16:47:01 +0000 (01:47 +0900)
man/udevadm.xml
src/udev/udevadm-trigger.c

index 531a88d8a38e805e802002036177251f4d25a4bd..90adc64543a003c751a73ca1ce35bee94267daf9 100644 (file)
         </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>
index dc68f38d03319b0ea96c35831a09d6f58feaad81..984ec1b84b25ea16a81be06cfef5661c71e32dc2 100644 (file)
@@ -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"