]> git.scottworley.com Git - keystroke-timestamps/commitdiff
Accept short options master v1.1.0
authorScott Worley <scottworley@scottworley.com>
Sat, 22 Aug 2026 01:11:42 +0000 (18:11 -0700)
committerScott Worley <scottworley@scottworley.com>
Sat, 22 Aug 2026 01:11:42 +0000 (18:11 -0700)
keystroke-timestamps.c

index 31086788cf34bec292b0b53512e05315fd569eb1..e0433bfa6668041b6167ec24b6caceced3927ab1 100644 (file)
@@ -27,7 +27,7 @@ int main (int argc, char **argv)
     {0,        0,                 0,            0   },
   };
   while (1) {
-    int c = getopt_long(argc, argv, "", long_options, NULL);
+    int c = getopt_long(argc, argv, "d:o:", long_options, NULL);
     if (c == -1) break;
     if (c == 'd') {
       device = optarg;