From f75c0a2de6fa330404163564d424c650dc0c105e Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sat, 1 Jul 2023 19:39:31 +0300 Subject: [PATCH] xkbcli: allow compile-keymap without args All of the arguments have defaults, but still an argument is required. Make it work. Signed-off-by: Ran Benita --- tools/compile-keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/compile-keymap.c b/tools/compile-keymap.c index d0877a6..d762624 100644 --- a/tools/compile-keymap.c +++ b/tools/compile-keymap.c @@ -322,7 +322,7 @@ main(int argc, char **argv) }; int rc = 1; - if (argc <= 1) { + if (argc < 1) { usage(argv); return EXIT_INVALID_USAGE; }