diff options
author | Erik Andersen | 2000-05-12 19:41:47 +0000 |
---|---|---|
committer | Erik Andersen | 2000-05-12 19:41:47 +0000 |
commit | 7ab9c7ee52db8759d457819f5480378fa3aa97cc (patch) | |
tree | 37ef0fb8b142a4925b866c7caa5207b71b4ecae6 /console-tools | |
parent | 3d427ac5efd249dc25dd03deb30520335f68911a (diff) | |
download | busybox-7ab9c7ee52db8759d457819f5480378fa3aa97cc.zip busybox-7ab9c7ee52db8759d457819f5480378fa3aa97cc.tar.gz |
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/loadacm.c | 7 | ||||
-rw-r--r-- | console-tools/loadfont.c | 7 | ||||
-rw-r--r-- | console-tools/loadkmap.c | 7 |
3 files changed, 15 insertions, 6 deletions
diff --git a/console-tools/loadacm.c b/console-tools/loadacm.c index 8f69234..cca5406 100644 --- a/console-tools/loadacm.c +++ b/console-tools/loadacm.c @@ -22,8 +22,11 @@ #include <sys/ioctl.h> #include <sys/kd.h> -static const char loadacm_usage[] = "loadacm\n\n" - "Loads an acm from standard input.\n"; +static const char loadacm_usage[] = "loadacm\n" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\nLoads an acm from standard input.\n" +#endif + ; typedef unsigned short unicode; diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index 5e1f04d..7eaf40e 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c @@ -30,8 +30,11 @@ #define PSF_MAXMODE 0x03 #define PSF_SEPARATOR 0xFFFF -static const char loadfont_usage[] = "loadfont\n\n" - "Loads a console font from standard input.\n"; +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 */ diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c index 75e52e1..99efc51 100644 --- a/console-tools/loadkmap.c +++ b/console-tools/loadkmap.c @@ -29,8 +29,11 @@ #include <sys/ioctl.h> -static const char loadkmap_usage[] = "loadkmap\n\n" - "Loads a binary keyboard translation table from standard input.\n"; +static const char loadkmap_usage[] = "loadkmap\n" +#ifndef BB_FEATURE_TRIVIAL_HELP + "Loads a binary keyboard translation table from standard input.\n" +#endif + ; int loadkmap_main(int argc, char **argv) |