summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-04-12 17:56:32 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-04-12 17:56:32 +0200
commit236fae6cf1a619a92174efdf84cd7d91e7d4348d (patch)
tree9504e85cb095ed3ae7b0a21808db126a00a5886e /udev
parent3ba7e651ad36e4f37d9bfffadb638bc2ef784217 (diff)
udevadm: trigger - switch default action from "add" to "change"
Diffstat (limited to 'udev')
-rw-r--r--udev/udevadm-trigger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c
index dbcaee3dbd..03aa53437f 100644
--- a/udev/udevadm-trigger.c
+++ b/udev/udevadm-trigger.c
@@ -110,7 +110,7 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
TYPE_SUBSYSTEMS,
TYPE_FAILED,
} device_type = TYPE_DEVICES;
- const char *action = "add";
+ const char *action = "change";
struct udev_enumerate *udev_enumerate;
int rc = 0;
@@ -184,7 +184,7 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
" subsystems sys subsystems and drivers\n"
" failed trigger only the events which have been\n"
" marked as failed during a previous run\n"
- " --action=<action> event action value, default is \"add\"\n"
+ " --action=<action> event action value, default is \"change\"\n"
" --subsystem-match=<subsystem> trigger devices from a matching subsystem\n"
" --subsystem-nomatch=<subsystem> exclude devices from a matching subsystem\n"
" --attr-match=<file[=<value>]> trigger devices with a matching attribute\n"