tools: switch how-to-type to getopt_long
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 13 Jul 2020 02:26:07 +0000 (12:26 +1000)
committerRan Benita <ran@unusedvar.com>
Sat, 25 Jul 2020 08:05:14 +0000 (11:05 +0300)
commit7d36a3d119826d80e48f397eb070a798f641423e
tree2a667dc2c69a6d3d3c3f0b47d4cf0ba5b50307e1
parentab3be693b39322849b5ecc4aa95827cbb8fe7414
tools: switch how-to-type to getopt_long

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/how-to-type.c
tools/xkbcli-how-to-type.1.ronn