diff options
author | Matt Kraai | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | Matt Kraai | 2000-07-16 20:57:15 +0000 |
commit | bf181b9338152759fd56c8009e9a962a84808e7c (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /console-tools | |
parent | 3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff) | |
download | busybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz |
Extract usage information into a separate file.
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/chvt.c | 7 | ||||
-rw-r--r-- | console-tools/deallocvt.c | 7 | ||||
-rw-r--r-- | console-tools/dumpkmap.c | 8 | ||||
-rw-r--r-- | console-tools/loadacm.c | 6 | ||||
-rw-r--r-- | console-tools/loadfont.c | 6 | ||||
-rw-r--r-- | console-tools/loadkmap.c | 8 | ||||
-rw-r--r-- | console-tools/setkeycodes.c | 11 |
7 files changed, 0 insertions, 53 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c index ab0e921..87a1248 100644 --- a/console-tools/chvt.c +++ b/console-tools/chvt.c @@ -15,13 +15,6 @@ #define VT_ACTIVATE 0x5606 /* make vt active */ #define VT_WAITACTIVE 0x5607 /* wait for vt active */ -const char chvt_usage[] = - "chvt N\n" -#ifndef BB_FEATURE_TRIVIAL_HELP - "\nChanges the foreground virtual terminal to /dev/ttyN\n" -#endif - ; - int chvt_main(int argc, char **argv) { int fd, num; diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c index 042de86..9c477d2 100644 --- a/console-tools/deallocvt.c +++ b/console-tools/deallocvt.c @@ -13,13 +13,6 @@ /* From <linux/vt.h> */ #define VT_DISALLOCATE 0x5608 /* free memory associated to vt */ -const char deallocvt_usage[] = - "deallocvt N\n" -#ifndef BB_FEATURE_TRIVIAL_HELP - "\nDeallocate unused virtual terminal /dev/ttyN\n" -#endif - ; - int deallocvt_main(int argc, char *argv[]) { int fd, num, i; diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c index f180505..4ce6e86 100644 --- a/console-tools/dumpkmap.c +++ b/console-tools/dumpkmap.c @@ -38,14 +38,6 @@ struct kbentry { #define NR_KEYS 128 #define MAX_NR_KEYMAPS 256 - -static const char dumpkmap_usage[] = "dumpkmap\n" -#ifndef BB_FEATURE_TRIVIAL_HELP - "\nPrints out a binary keyboard translation table to standard input.\n" -#endif - ; - - int dumpkmap_main(int argc, char **argv) { struct kbentry ke; diff --git a/console-tools/loadacm.c b/console-tools/loadacm.c index 9eebf3b..2d70ffc 100644 --- a/console-tools/loadacm.c +++ b/console-tools/loadacm.c @@ -22,12 +22,6 @@ #include <sys/ioctl.h> #include <sys/kd.h> -static const char loadacm_usage[] = "loadacm\n" -#ifndef BB_FEATURE_TRIVIAL_HELP - "\nLoads an acm from standard input.\n" -#endif - ; - typedef unsigned short unicode; static long int ctoi(unsigned char *s, int *is_unicode); diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index 46a7574..6221429 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c @@ -30,12 +30,6 @@ #define PSF_MAXMODE 0x03 #define PSF_SEPARATOR 0xFFFF -static const char loadfont_usage[] = "loadfont\n" -#ifndef BB_FEATURE_TRIVIAL_HELP - "Loads a console font from standard input.\n" -#endif - ; - struct psf_header { unsigned char magic1, magic2; /* Magic number */ unsigned char mode; /* PSF font mode */ diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c index 72247a6..488585f 100644 --- a/console-tools/loadkmap.c +++ b/console-tools/loadkmap.c @@ -38,14 +38,6 @@ struct kbentry { #define NR_KEYS 128 #define MAX_NR_KEYMAPS 256 - -static const char loadkmap_usage[] = "loadkmap\n" -#ifndef BB_FEATURE_TRIVIAL_HELP - "\nLoads a binary keyboard translation table from standard input.\n" -#endif - ; - - int loadkmap_main(int argc, char **argv) { struct kbentry ke; diff --git a/console-tools/setkeycodes.c b/console-tools/setkeycodes.c index 1bdb909..284ffa1 100644 --- a/console-tools/setkeycodes.c +++ b/console-tools/setkeycodes.c @@ -35,17 +35,6 @@ struct kbkeycode { }; #define KDSETKEYCODE 0x4B4D /* write kernel keycode table entry */ - -static const char setkeycodes_usage[] = - "setkeycodes SCANCODE KEYCODE ...\n" -#ifndef BB_FEATURE_TRIVIAL_HELP - "\nSet entries into the kernel's scancode-to-keycode map,\n" - "allowing unusual keyboards to generate usable keycodes.\n\n" - "SCANCODE may be either xx or e0xx (hexadecimal),\n" - "and KEYCODE is given in decimal\n" -#endif - ; - extern int setkeycodes_main(int argc, char** argv) { |