summaryrefslogtreecommitdiff
path: root/src/udev/accelerometer
diff options
context:
space:
mode:
authorRobert Milasan <rmilasan@suse.com>2014-12-30 18:58:29 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-30 19:12:50 -0500
commitfd51179d5c6c693a0841db5af0404a45fd9e9845 (patch)
tree786c05de703043d859144dd46c068f47122e2dc9 /src/udev/accelerometer
parentbdd31644fe84530399edcc77973bb52094ede472 (diff)
accelerometer: display short options too
Diffstat (limited to 'src/udev/accelerometer')
-rw-r--r--src/udev/accelerometer/accelerometer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/accelerometer/accelerometer.c b/src/udev/accelerometer/accelerometer.c
index 23d6f7848e..9c13d97870 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)