From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yin Kangkai Date: Wed, 28 Jul 2010 03:17:37 +0000 Subject: [PATCH 8/9] udevadm-trigger: add short options in Usage Message-Id: <20100728031737.GH29131@kai-debian> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org >From 16c72cce078464ba2f62ecf3297c6d6aae78a1cd Mon Sep 17 00:00:00 2001 From: Yin Kangkai 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 --- 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= event action value, default is \"change\"\n" - " --subsystem-match= trigger devices from a matching subsystem\n" - " --subsystem-nomatch= exclude devices from a matching subsystem\n" - " --attr-match=]> trigger devices with a matching attribute\n" - " --attr-nomatch=]> exclude devices with a matching attribute\n" - " --property-match== trigger devices with a matching property\n" - " --tag-match== trigger devices with a matching property\n" - " --sysname-match= 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= event action value, default is \"change\"\n" + " -s, --subsystem-match= trigger devices from a matching subsystem\n" + " -S, --subsystem-nomatch= exclude devices from a matching subsystem\n" + " -a, --attr-match=]> trigger devices with a matching attribute\n" + " -A, --attr-nomatch=]> exclude devices with a matching attribute\n" + " -p, --property-match== trigger devices with a matching property\n" + " -g, --tag-match== trigger devices with a matching property\n" + " -y, --sysname-match= trigger devices with a matching name\n" + " -h, --help\n\n"); goto exit; default: goto exit; -- 1.6.5