chiark / gitweb /
accelerometer: display short options too
[elogind.git] / src / udev / accelerometer / accelerometer.c
index 23d6f7848ea757d1263838280736ecbbc1a02e9c..9c13d978705f7cf09c2504df87f35d889938e3bd 100644 (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)