From d41b956e7f31b2ad708c1cce86eae9e9ba365a6c Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 30 Sep 2008 16:25:46 +0200 Subject: [PATCH] udevadm: trigger fix long option --type= --- NEWS | 4 ++++ udev/udevadm-trigger.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 86e78334..260fb658 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 67180d87..3cf8c7a3 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' }, -- 2.39.5