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 <ran@unusedvar.com>
master
Ran Benita 2023-07-01 19:39:31 +03:00 committed by Peter Hutterer
parent 37fdd87c82
commit f75c0a2de6
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ main(int argc, char **argv)
};
int rc = 1;
if (argc <= 1) {
if (argc < 1) {
usage(argv);
return EXIT_INVALID_USAGE;
}