From: Ran Benita Date: Sat, 1 Jul 2023 16:39:31 +0000 (+0300) Subject: xkbcli: allow compile-keymap without args X-Git-Tag: accepted/tizen/unified/20240109.155348~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f75c0a2de6fa330404163564d424c650dc0c105e;p=platform%2Fupstream%2Flibxkbcommon.git 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 --- 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; }