From 18a1014c959abea0f8693e5aea4248ba4848f1be Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 1 Sep 2000 16:12:57 +0000 Subject: [PATCH] updated some usage info from a patch from robotti@metconnect.com -Erik --- applets/usage.c | 8 ++++---- docs/busybox.pod | 6 +++++- docs/busybox.sgml | 10 ++++++++++ usage.c | 8 ++++---- 4 files changed, 23 insertions(+), 9 deletions(-) diff --git a/applets/usage.c b/applets/usage.c index 35f63db86..5fe92d281 100644 --- a/applets/usage.c +++ b/applets/usage.c @@ -220,7 +220,7 @@ const char du_usage[] = #if defined BB_DUMPKMAP const char dumpkmap_usage[] = - "dumpkmap\n" + "dumpkmap > keymap\n" #ifndef BB_FEATURE_TRIVIAL_HELP "\nPrints out a binary keyboard translation table to standard input.\n" #endif @@ -477,7 +477,7 @@ const char ln_usage[] = #if defined BB_LOADACM const char loadacm_usage[] = - "loadacm\n" + "loadacm < mapfile\n" #ifndef BB_FEATURE_TRIVIAL_HELP "\nLoads an acm from standard input.\n" #endif @@ -486,7 +486,7 @@ const char loadacm_usage[] = #if defined BB_LOADFONT const char loadfont_usage[] = - "loadfont\n" + "loadfont < font\n" #ifndef BB_FEATURE_TRIVIAL_HELP "Loads a console font from standard input.\n" #endif @@ -495,7 +495,7 @@ const char loadfont_usage[] = #if defined BB_LOADKMAP const char loadkmap_usage[] = - "loadkmap\n" + "loadkmap < keymap\n" #ifndef BB_FEATURE_TRIVIAL_HELP "\nLoads a binary keyboard translation table from standard input.\n" #endif diff --git a/docs/busybox.pod b/docs/busybox.pod index e68b41b68..accdaed23 100644 --- a/docs/busybox.pod +++ b/docs/busybox.pod @@ -446,6 +446,10 @@ Usage: dumpkmap Prints out a binary keyboard translation table to standard input. +Example: + + $ dumpkmap > keymap + ------------------------------- =item dutmp @@ -2108,4 +2112,4 @@ Enrique Zanardi =cut -# $Id: busybox.pod,v 1.64 2000/08/21 23:29:45 andersen Exp $ +# $Id: busybox.pod,v 1.65 2000/09/01 16:12:57 andersen Exp $ diff --git a/docs/busybox.sgml b/docs/busybox.sgml index d590237bf..ec6f5041d 100644 --- a/docs/busybox.sgml +++ b/docs/busybox.sgml @@ -796,6 +796,16 @@ Prints out a binary keyboard translation table to standard input. + + + Example: + + + + + $ dumpkmap < keymap + + diff --git a/usage.c b/usage.c index 35f63db86..5fe92d281 100644 --- a/usage.c +++ b/usage.c @@ -220,7 +220,7 @@ const char du_usage[] = #if defined BB_DUMPKMAP const char dumpkmap_usage[] = - "dumpkmap\n" + "dumpkmap > keymap\n" #ifndef BB_FEATURE_TRIVIAL_HELP "\nPrints out a binary keyboard translation table to standard input.\n" #endif @@ -477,7 +477,7 @@ const char ln_usage[] = #if defined BB_LOADACM const char loadacm_usage[] = - "loadacm\n" + "loadacm < mapfile\n" #ifndef BB_FEATURE_TRIVIAL_HELP "\nLoads an acm from standard input.\n" #endif @@ -486,7 +486,7 @@ const char loadacm_usage[] = #if defined BB_LOADFONT const char loadfont_usage[] = - "loadfont\n" + "loadfont < font\n" #ifndef BB_FEATURE_TRIVIAL_HELP "Loads a console font from standard input.\n" #endif @@ -495,7 +495,7 @@ const char loadfont_usage[] = #if defined BB_LOADKMAP const char loadkmap_usage[] = - "loadkmap\n" + "loadkmap < keymap\n" #ifndef BB_FEATURE_TRIVIAL_HELP "\nLoads a binary keyboard translation table from standard input.\n" #endif