chiark / gitweb /
test-libudev: add short options
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 4 Mar 2011 21:56:54 +0000 (22:56 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 4 Mar 2011 21:56:54 +0000 (22:56 +0100)
libudev/test-libudev.c

index f8eb8e5d5ac3f9a87eaa7a8373849b9452ecee1e..5ff8663b909e2c87a8bc6025fa2c4aca55b6e6ef 100644 (file)
@@ -426,7 +426,7 @@ int main(int argc, char *argv[])
        for (;;) {
                int option;
 
-               option = getopt_long(argc, argv, "+dhV", options, NULL);
+               option = getopt_long(argc, argv, "+p:s:dhV", options, NULL);
                if (option == -1)
                        break;