[PATCH] Document actions a bit more in "udevadm trigger --help"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm not sure it's a good idea to document "remove" here, or even if
it's valid (and I'm too chicken to find out) :-), but hopefully the
idea is clear anyway...

-RW
Document valid actions for udevadm trigger --action="" in 
  udevadm trigger --help

Signed-off-by: Robby Workman <rworkman@xxxxxxxxxxxxx>

diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c
index c885346..ec5c60e 100644
--- a/udev/udevadm-trigger.c
+++ b/udev/udevadm-trigger.c
@@ -171,11 +171,13 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
 			printf("Usage: udevadm trigger OPTIONS\n"
 			       "  --verbose                       print the list of devices while running\n"
 			       "  --dry-run                       do not actually trigger the events\n"
-			       "  --type=                         type of events to trigger\n"
+			       "  --type=                         type of devices for events to trigger\n"
 			       "      devices                       sys devices\n"
 			       "      subsystems                    sys subsystems and drivers\n"
 			       "      failed                        trigger only the events which have been\n"
 			       "                                    marked as failed during a previous run\n"
+			       "  --action=                       type of events to trigger\n"
+			       "      add|change|remove             default is \"add\"\n"
 			       "  --subsystem-match=<subsystem>   trigger devices from a matching subystem\n"
 			       "  --subsystem-nomatch=<subsystem> exclude devices from a matching subystem\n"
 			       "  --attr-match=<file[=<value>]>   trigger devices with a matching attribute\n"

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux