chiark / gitweb /
udevadm: trigger fix long option --type=
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 30 Sep 2008 14:25:46 +0000 (16:25 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 30 Sep 2008 14:25:46 +0000 (16:25 +0200)
NEWS
udev/udevadm-trigger.c

diff --git a/NEWS b/NEWS
index 86e78334efb094a56ff6e6c1ce25fb912430db99..260fb6585fedf040c1021a1bf1f270eecb63d594 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,10 @@ udev 129
 More libudev work. Most of udevadm's functionality comes from libudev
 now.
 
 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.
 udev 128
 ========
 Bugfixes.
index 67180d879e132b2b2fef922f733b09749ffd45da..3cf8c7a3d6e1d58b45dd29a76be29e91c4a1c394 100644 (file)
@@ -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' },
        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' },
                { "retry-failed", 0, NULL, 'F' },
                { "action", 1, NULL, 'c' },
                { "subsystem-match", 1, NULL, 's' },