From: Yin Kangkai <kangkai.yin@linux.intel.com>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH 4/9] udevadm-monitor: add the short options in Usage
Date: Wed, 28 Jul 2010 03:15:37 +0000 [thread overview]
Message-ID: <20100728031537.GD29131@kai-debian> (raw)
From 6decea1de891031f1bad0df91ed9f0d5ffaac529 Mon Sep 17 00:00:00 2001
From: Yin Kangkai <kangkai.yin@intel.com>
Date: Tue, 27 Jul 2010 16:15:38 +0800
Subject: [PATCH 4/9] udevadm-monitor: add the short options in Usage
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
---
udev/udevadm-monitor.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/udev/udevadm-monitor.c b/udev/udevadm-monitor.c
index 85252bb..9efed6e 100644
--- a/udev/udevadm-monitor.c
+++ b/udev/udevadm-monitor.c
@@ -126,13 +126,13 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[])
udev_list_entry_add(udev, &tag_match_list, optarg, NULL, 0, 0);
break;
case 'h':
- printf("Usage: udevadm monitor [--property] [--kernel] [--udev] [--help]\n"
- " --property print the event properties\n"
- " --kernel print kernel uevents\n"
- " --udev print udev events\n"
- " --subsystem-match=<subsystem[/devtype]> filter events by subsystem\n"
- " --tag-match=<tag> filter events by tag\n"
- " --help\n\n");
+ printf("Usage: udevadm monitor OPTIONS\n"
+ " -p, --property print the event properties\n"
+ " -k, --kernel print kernel uevents\n"
+ " -u, --udev print udev events\n"
+ " -s, --subsystem-match=<subsystem[/devtype]> filter events by subsystem\n"
+ " -t, --tag-match=<tag> filter events by tag\n"
+ " -h, --help\n\n");
default:
goto out;
}
--
1.6.5
reply other threads:[~2010-07-28 3:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100728031537.GD29131@kai-debian \
--to=kangkai.yin@linux.intel.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.