From: Kay Sievers Date: Tue, 30 Sep 2008 14:25:46 +0000 (+0200) Subject: udevadm: trigger fix long option --type= X-Git-Tag: 174~1506 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=d41b956e7f31b2ad708c1cce86eae9e9ba365a6c udevadm: trigger fix long option --type= --- diff --git a/NEWS b/NEWS index 86e78334e..260fb6585 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 67180d879..3cf8c7a3d 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' },