showkey: make -a, -k, -s mutually exclusive
No binary (build failed)
—
(log yok)
| @@ -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); | |