1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

udevadm: trigger fix long option --type=

This commit is contained in:
Kay Sievers 2008-09-30 16:25:46 +02:00
parent e0083e8e69
commit d41b956e7f
2 changed files with 5 additions and 1 deletions

4
NEWS
View File

@ -3,6 +3,10 @@ udev 129
More libudev work. Most of udevadm's functionality comes from libudev More libudev work. Most of udevadm's functionality comes from libudev
now. 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 udev 128
======== ========
Bugfixes. Bugfixes.

View File

@ -100,7 +100,7 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
static const struct option options[] = { static const struct option options[] = {
{ "verbose", 0, NULL, 'v' }, { "verbose", 0, NULL, 'v' },
{ "dry-run", 0, NULL, 'n' }, { "dry-run", 0, NULL, 'n' },
{ "type", 0, NULL, 't' }, { "type", 1, NULL, 't' },
{ "retry-failed", 0, NULL, 'F' }, { "retry-failed", 0, NULL, 'F' },
{ "action", 1, NULL, 'c' }, { "action", 1, NULL, 'c' },
{ "subsystem-match", 1, NULL, 's' }, { "subsystem-match", 1, NULL, 's' },