aboutsummaryrefslogtreecommitdiffstats
path: root/xkbdbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkbdbind.c')
-rw-r--r--xkbdbind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xkbdbind.c b/xkbdbind.c
index f012df3..90a472a 100644
--- a/xkbdbind.c
+++ b/xkbdbind.c
@@ -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;