[systemd-commits] src/udev
Zbigniew Jędrzejewski-Szmek
zbyszek at kemper.freedesktop.org
Tue Dec 30 16:14:17 PST 2014
src/udev/accelerometer/accelerometer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit fd51179d5c6c693a0841db5af0404a45fd9e9845
Author: Robert Milasan <rmilasan at suse.com>
Date: Tue Dec 30 18:58:29 2014 +0100
accelerometer: display short options too
diff --git a/src/udev/accelerometer/accelerometer.c b/src/udev/accelerometer/accelerometer.c
index 23d6f78..9c13d97 100644
--- a/src/udev/accelerometer/accelerometer.c
+++ b/src/udev/accelerometer/accelerometer.c
@@ -198,8 +198,8 @@ static void test_orientation(struct udev *udev,
static void help(void)
{
printf("Usage: accelerometer [options] <device path>\n"
- " --debug debug to stderr\n"
- " --help print this help text\n\n");
+ " -d,--debug debug to stderr\n"
+ " -h,--help print this help text\n\n");
}
int main (int argc, char** argv)
More information about the systemd-commits
mailing list