[PATCH 8/9] udevadm-trigger: add short options in Usage

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

 



>From 16c72cce078464ba2f62ecf3297c6d6aae78a1cd Mon Sep 17 00:00:00 2001
From: Yin Kangkai <kangkai.yin@xxxxxxxxx>
Date: Wed, 28 Jul 2010 10:24:48 +0800
Subject: [PATCH 8/9] udevadm-trigger: add short options in Usage

Signed-off-by: Yin Kangkai <kangkai.yin@xxxxxxxxx>
---
 udev/udevadm-trigger.c |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c
index 481e9cf..0d82606 100644
--- a/udev/udevadm-trigger.c
+++ b/udev/udevadm-trigger.c
@@ -181,22 +181,22 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
 			break;
 		case 'h':
 			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"
-			       "      devices                       sys devices (default)\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=<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"
-			       "  --attr-nomatch=<file[=<value>]> exclude devices with a matching attribute\n"
-			       "  --property-match=<key>=<value>  trigger devices with a matching property\n"
-			       "  --tag-match=<key>=<value>       trigger devices with a matching property\n"
-			       "  --sysname-match=<name>          trigger devices with a matching name\n"
-			       "  --help\n\n");
+			       "  -v, --verbose                       print the list of devices while running\n"
+			       "  -n, --dry-run                       do not actually trigger the events\n"
+			       "  -t, --type=                         type of events to trigger\n"
+			       "      devices                           sys devices (default)\n"
+			       "      subsystems                        sys subsystems and drivers\n"
+			       "      failed                            trigger only the events which have been\n"
+			       "                                        marked as failed during a previous run\n"
+			       "  -c, --action=<action>               event action value, default is \"change\"\n"
+			       "  -s, --subsystem-match=<subsystem>   trigger devices from a matching subsystem\n"
+			       "  -S, --subsystem-nomatch=<subsystem> exclude devices from a matching subsystem\n"
+			       "  -a, --attr-match=<file[=<value>]>   trigger devices with a matching attribute\n"
+			       "  -A, --attr-nomatch=<file[=<value>]> exclude devices with a matching attribute\n"
+			       "  -p, --property-match=<key>=<value>  trigger devices with a matching property\n"
+			       "  -g, --tag-match=<key>=<value>       trigger devices with a matching property\n"
+			       "  -y, --sysname-match=<name>          trigger devices with a matching name\n"
+			       "  -h, --help\n\n");
 			goto exit;
 		default:
 			goto exit;
-- 
1.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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