chiark / gitweb /
udev: improve help/usage for some more programs
[elogind.git] / src / udev / v4l_id / v4l_id.c
index a2a80b5f4312fc3ad6a10a7d713387ed180c9bf1..08d3efa857e8904fe333558a8037af516b49ba19 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009 Kay Sievers <kay.sievers@vrfy.org>
+ * Copyright (C) 2009 Kay Sievers <kay@vrfy.org>
  * Copyright (c) 2009 Filippo Argiolas <filippo.argiolas@gmail.com>
  *
  * This program is free software; you can redistribute it and/or
 #include <string.h>
 #include <ctype.h>
 #include <stdlib.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
 #include <unistd.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <getopt.h>
 #include <sys/types.h>
@@ -49,7 +45,7 @@ int main (int argc, char *argv[])
 
                 switch (option) {
                 case 'h':
-                        printf("Usage: v4l_id [--help] <device file>\n\n");
+                        printf("Usage: v4l_id [-h,--help] <device file>\n\n");
                         return 0;
                 default:
                         return 1;