udevadm-control: add short options in Usage
PATCH 6/9 udevadm-control: add short options in Usage
From b0bb14092c150b3a17587b1a69aa1c35e3173e41 Mon Sep 17 00:00:00 2001
From: Yin Kangkai <[email protected]>
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 <[email protected]>
--- udev/udevadm-control.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-)
udev/udevadm-control.c +8 -8
@@ -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[])
Signature · 1 line
1.6.5