diff options
author | Mattias Andrée <maandree@kth.se> | 2021-02-24 22:02:12 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-02-24 22:02:34 +0100 |
commit | f488e153357844eca6f028efa0d88e5ba337f330 (patch) | |
tree | 14242b9c5417beb5f7590160cfa04aa6d6c0d811 /xkbdbind.c | |
parent | embedded bitmap fonts does not work anymore in (i believe) fontconfig (diff) | |
download | xkbdbind-f488e153357844eca6f028efa0d88e5ba337f330.tar.gz xkbdbind-f488e153357844eca6f028efa0d88e5ba337f330.tar.bz2 xkbdbind-f488e153357844eca6f028efa0d88e5ba337f330.tar.xz |
Ignore --
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | xkbdbind.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |