aboutsummaryrefslogtreecommitdiff
path: root/console-tools/showkey.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-03-27 23:42:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-03-28 02:51:01 +0200
commit55068c478ee8e8c058b0c9e37ce0ca57612c95b1 (patch)
tree31db732832446b4c231ecb2752279728ae9b9824 /console-tools/showkey.c
parent6ec1510f719ad7463d76eea9284428cc605d6b38 (diff)
downloadbusybox-w32-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.tar.gz
busybox-w32-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.tar.bz2
busybox-w32-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.zip
move help text from include/usage.src.h to console-tools/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools/showkey.c')
-rw-r--r--console-tools/showkey.c9
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 @@
7 * Licensed under GPLv2, see file LICENSE in this source tree. 7 * Licensed under GPLv2, see file LICENSE in this source tree.
8 */ 8 */
9 9
10//usage:#define showkey_trivial_usage
11//usage: "[-a | -k | -s]"
12//usage:#define showkey_full_usage "\n\n"
13//usage: "Show keys pressed\n"
14//usage: "\nOptions:"
15//usage: "\n -a Display decimal/octal/hex values of the keys"
16//usage: "\n -k Display interpreted keycodes (default)"
17//usage: "\n -s Display raw scan-codes"
18
10#include "libbb.h" 19#include "libbb.h"
11#include <linux/kd.h> 20#include <linux/kd.h>
12 21