summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--udev/udevadm-trigger.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 86e78334ef..260fb6585f 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,10 @@ udev 129
More libudev work. Most of udevadm's functionality comes from libudev
now.
+udevadm trigger has a new option --type, which allows to trigger events
+for "devices", for "subsystems" and "failed" devices. The old option
+--retry-failed" still works, but is no longer mentioned in the man page.
+
udev 128
========
Bugfixes.
diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c
index 67180d879e..3cf8c7a3d6 100644
--- a/udev/udevadm-trigger.c
+++ b/udev/udevadm-trigger.c
@@ -100,7 +100,7 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
static const struct option options[] = {
{ "verbose", 0, NULL, 'v' },
{ "dry-run", 0, NULL, 'n' },
- { "type", 0, NULL, 't' },
+ { "type", 1, NULL, 't' },
{ "retry-failed", 0, NULL, 'F' },
{ "action", 1, NULL, 'c' },
{ "subsystem-match", 1, NULL, 's' },