accelerometer: display short options too

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Robert Milasan 2014-12-30 18:58:29 +01:00 committed by Anthony G. Basile
parent ec0310d5e4
commit 251b8f66aa

View File

@ -202,8 +202,8 @@ static void test_orientation(struct udev *udev,
static void help(void) static void help(void)
{ {
printf("Usage: accelerometer [options] <device path>\n" printf("Usage: accelerometer [options] <device path>\n"
" --debug debug to stderr\n" " -d,--debug debug to stderr\n"
" --help print this help text\n\n"); " -h,--help print this help text\n\n");
} }
int main (int argc, char** argv) int main (int argc, char** argv)