From 251b8f66aaee1d2e0f4638ce97e5a2df026c165b Mon Sep 17 00:00:00 2001 From: Robert Milasan Date: Tue, 30 Dec 2014 18:58:29 +0100 Subject: accelerometer: display short options too Signed-off-by: Anthony G. Basile --- src/accelerometer/accelerometer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/accelerometer') diff --git a/src/accelerometer/accelerometer.c b/src/accelerometer/accelerometer.c index f97dcc2460..e0e9c726b1 100644 --- a/src/accelerometer/accelerometer.c +++ b/src/accelerometer/accelerometer.c @@ -202,8 +202,8 @@ static void test_orientation(struct udev *udev, static void help(void) { printf("Usage: accelerometer [options] \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) -- cgit v1.2.3-54-g00ecf