diff options
Diffstat (limited to 'console-tools/showkey.c')
-rw-r--r-- | console-tools/showkey.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/console-tools/showkey.c b/console-tools/showkey.c index 06df68bfd..2c832c92c 100644 --- a/console-tools/showkey.c +++ b/console-tools/showkey.c @@ -7,6 +7,15 @@ * Licensed under GPLv2, see file LICENSE in this source tree. */ +//usage:#define showkey_trivial_usage +//usage: "[-a | -k | -s]" +//usage:#define showkey_full_usage "\n\n" +//usage: "Show keys pressed\n" +//usage: "\nOptions:" +//usage: "\n -a Display decimal/octal/hex values of the keys" +//usage: "\n -k Display interpreted keycodes (default)" +//usage: "\n -s Display raw scan-codes" + #include "libbb.h" #include <linux/kd.h> |