accelerometer: display short options too

This commit is contained in:
Robert Milasan 2014-12-30 18:58:29 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent bdd31644fe
commit fd51179d5c

View file

@ -198,8 +198,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)