From db435adf1d9c7aef810e55ca5fd11c52c9b9fb0f Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Fri, 21 Aug 2026 18:11:42 -0700 Subject: [PATCH] Accept short options --- keystroke-timestamps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keystroke-timestamps.c b/keystroke-timestamps.c index 3108678..e0433bf 100644 --- a/keystroke-timestamps.c +++ b/keystroke-timestamps.c @@ -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; -- 2.51.2