1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-25 23:21:33 +03:00

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)
{
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)