← Commit list

8f5d89007

Denys Vlasenko
Denys Vlasenko
2025-08-06
SUCCESS Duration: 158s

Subject

showkey: make -a, -k, -s mutually exclusive

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

console-tools/showkey.c+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);