summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-30 16:25:46 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-30 16:25:46 +0200
commitd41b956e7f31b2ad708c1cce86eae9e9ba365a6c (patch)
treee794acaec45560bee425b003f53d44ce055a0703
parente0083e8e69856f1b4e1e643cebb08906775cca8a (diff)
udevadm: trigger fix long option --type=
-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' },