* [PATCH 6/9] udevadm-control: add short options in Usage
@ 2010-07-28 3:16 Yin Kangkai
0 siblings, 0 replies; only message in thread
From: Yin Kangkai @ 2010-07-28 3:16 UTC (permalink / raw)
To: linux-hotplug
From b0bb14092c150b3a17587b1a69aa1c35e3173e41 Mon Sep 17 00:00:00 2001
From: Yin Kangkai <kangkai.yin@intel.com>
Date: Tue, 27 Jul 2010 16:36:23 +0800
Subject: [PATCH 6/9] udevadm-control: add short options in Usage
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
---
udev/udevadm-control.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/udev/udevadm-control.c b/udev/udevadm-control.c
index 8b90829..8520b8b 100644
--- a/udev/udevadm-control.c
+++ b/udev/udevadm-control.c
@@ -29,14 +29,14 @@
static void print_help(void)
{
- printf("Usage: udevadm control COMMAND\n"
- " --log-priority=<level> set the udev log level for the daemon\n"
- " --stop-exec-queue keep udevd from executing events, queue only\n"
- " --start-exec-queue execute events, flush queue\n"
- " --reload-rules reloads the rules files\n"
- " --property=<KEY>=<value> set a global property for all events\n"
- " --children-max=<N> maximum number of children\n"
- " --help print this help text\n\n");
+ printf("Usage: udevadm control OPTIONS\n"
+ " -l, --log-priority=<level> set the udev log level for the daemon\n"
+ " -s, --stop-exec-queue keep udevd from executing events, queue only\n"
+ " -S, --start-exec-queue execute events, flush queue\n"
+ " -R, --reload-rules reloads the rules files\n"
+ " -p, --property=<KEY>=<value> set a global property for all events\n"
+ " -m, --children-max=<N> maximum number of children\n"
+ " -h, --help print this help text\n\n");
}
int udevadm_control(struct udev *udev, int argc, char *argv[])
--
1.6.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-28 3:16 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:16 [PATCH 6/9] udevadm-control: 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).