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
parent
37fdd87c82
commit
f75c0a2de6
|
@ -322,7 +322,7 @@ main(int argc, char **argv)
|
|||
};
|
||||
int rc = 1;
|
||||
|
||||
if (argc <= 1) {
|
||||
if (argc < 1) {
|
||||
usage(argv);
|
||||
return EXIT_INVALID_USAGE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue