accelerometer: display short options too
This commit is contained in:
parent
bdd31644fe
commit
fd51179d5c
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue