diff --git a/man/udevadm.xml b/man/udevadm.xml
index b7a2494f83..0107c57576 100644
--- a/man/udevadm.xml
+++ b/man/udevadm.xml
@@ -189,7 +189,7 @@
Request device events from the kernel. Primarily used to replay events at system coldplug time.
- Takes a device specification as a positional argument. See the description of info
+ Takes device specifications as positional arguments. See the description of info
above.
@@ -298,7 +298,7 @@
Trigger events for devices with a matching device path. When this option is specified more than once,
- the last NAME is used.
+ then each matching result is ORed, that is, all specified devices are triggered.
@@ -306,7 +306,7 @@
Trigger events for all children of a given device. When this option is specified more than once,
- the last NAME is used.
+ then each matching result is ORed, that is, all children of each specified device are triggered.
@@ -332,8 +332,8 @@
- In addition, an optional positional argument can be used
- to specify device name or sys path. It must start with
+ In addition, optional positional arguments can be used
+ to specify device names or sys paths. They must start with
/dev or /sys
respectively.
diff --git a/src/udev/udevadm-trigger.c b/src/udev/udevadm-trigger.c
index 95329469e3..2a658158e6 100644
--- a/src/udev/udevadm-trigger.c
+++ b/src/udev/udevadm-trigger.c
@@ -256,7 +256,7 @@ int trigger_main(int argc, char *argv[], void *userdata) {
if (r < 0)
return log_error_errno(r, "Failed to open the device '%s': %m", optarg);
- r = sd_device_enumerator_add_match_parent(e, dev);
+ r = device_enumerator_add_match_parent_incremental(e, dev);
if (r < 0)
return log_error_errno(r, "Failed to add parent match '%s': %m", optarg);
break;
@@ -272,7 +272,7 @@ int trigger_main(int argc, char *argv[], void *userdata) {
if (r < 0)
return log_error_errno(r, "Failed to open the device '%s': %m", optarg);
- r = sd_device_enumerator_add_match_parent(e, dev);
+ r = device_enumerator_add_match_parent_incremental(e, dev);
if (r < 0)
return log_error_errno(r, "Failed to add parent match '%s': %m", optarg);
break;
@@ -324,7 +324,7 @@ int trigger_main(int argc, char *argv[], void *userdata) {
if (r < 0)
return log_error_errno(r, "Failed to open the device '%s': %m", argv[optind]);
- r = sd_device_enumerator_add_match_parent(e, dev);
+ r = device_enumerator_add_match_parent_incremental(e, dev);
if (r < 0)
return log_error_errno(r, "Failed to add parent match '%s': %m", argv[optind]);
}