summaryrefslogtreecommitdiff
path: root/tools/how-to-type.c
Commit message (Collapse)AuthorAgeFilesLines
* tools/how-to-type: add --keysym for how to type a keysymRan Benita2021-07-311-13/+28
| | | | | | | Previously, could only check how to type a Unicode codepoint, but searching for a keysym directly is also occasionally useful. Signed-off-by: Ran Benita <ran@unusedvar.com>
* tools: align `xkbcli how-to-type` output ourselvesRan Benita2020-09-091-3/+3
| | | | | | | Can possibly add a machine-parsable format if desired, but for now just have it work nicely. Signed-off-by: Ran Benita <ran@unusedvar.com>
* tools: switch how-to-type to getopt_longPeter Hutterer2020-07-251-16/+41
| | | | | | | This provides consistency with the other tools that now all take long options. Plus, it's more obvious to have the arguments spelled out. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: consistently return 2 on invalid usagePeter Hutterer2020-07-251-3/+6
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Move the various tools to a tools/ directoryPeter Hutterer2020-06-251-0/+196
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>