diff options
Diffstat (limited to '')
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | xkbdbind.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,6 @@ ISC License -© 2018 Mattias Andrée <maandree@kth.se> +© 2018, 2021 Mattias Andrée <maandree@kth.se> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -123,6 +123,8 @@ main(int argc, char *argv[]) size_t i; argv0 = argv[0]; + if (argc > 1 && !strcmp(argv[1], "--")) + argc--; if (argc > 1) { fprintf(stderr, "usage: %s\n", argv0); return 1; |