All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/9] udevadm-monitor: add the short options in Usage
@ 2010-07-28  3:15 Yin Kangkai
  0 siblings, 0 replies; only message in thread
From: Yin Kangkai @ 2010-07-28  3:15 UTC (permalink / raw)
  To: linux-hotplug

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-28  3:15 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:15 [PATCH 4/9] udevadm-monitor: add the short options in Usage Yin Kangkai

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.