projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37fdd87
)
xkbcli: allow compile-keymap without args
author
Ran Benita
<ran@unusedvar.com>
Sat, 1 Jul 2023 16:39:31 +0000
(19:39 +0300)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 3 Jul 2023 03:53:26 +0000
(13:53 +1000)
All of the arguments have defaults, but still an argument is required.
Make it work.
Signed-off-by: Ran Benita <ran@unusedvar.com>
tools/compile-keymap.c
patch
|
blob
|
history
diff --git
a/tools/compile-keymap.c
b/tools/compile-keymap.c
index d0877a6838a781d86e8fe7548f8db9402cf47b6e..d7626240d3bf7490302de6ef447e6969180023d2 100644
(file)
--- 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;
}