showkey: make -a, -k, -s mutually exclusive
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
1 parent
0b05a4e71e
commit
8f5d890071
1 file changed
+2
-2
@@ -70,8 +70,8 @@ int showkey_main(int argc UNUSED_PARAM, char **argv)
|
||||
|
||||
INIT_G();
|
||||
|
||||
// FIXME: aks are all mutually exclusive
|
||||
getopt32(argv, "aks");
|
||||
// a,k,s are all mutually exclusive
|
||||
getopt32(argv, "^" "aks" "\0" "a--ks:k--as:s--ak");
|
||||
|
||||
// prepare for raw mode
|
||||
xget1(&tio, &tio0);
|
||||
|
||||
Reference in new issue
Block a user