* [PATCH 8/9] udevadm-trigger: add short options in Usage
@ 2010-07-28 3:17 Yin Kangkai
0 siblings, 0 replies; only message in thread
From: Yin Kangkai @ 2010-07-28 3:17 UTC (permalink / raw)
To: linux-hotplug
From 16c72cce078464ba2f62ecf3297c6d6aae78a1cd Mon Sep 17 00:00:00 2001
From: Yin Kangkai <kangkai.yin@intel.com>
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@intel.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-28 3:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-28 3:17 [PATCH 8/9] udevadm-trigger: add short options in Usage Yin Kangkai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).