updated some usage info from a patch from robotti@metconnect.com
-Erik
diff --git a/applets/usage.c b/applets/usage.c
index 35f63db..5fe92d2 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -220,7 +220,7 @@
#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 @@
#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 @@
#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 @@
#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 e68b41b..accdaed 100644
--- a/docs/busybox.pod
+++ b/docs/busybox.pod
@@ -446,6 +446,10 @@
Prints out a binary keyboard translation table to standard input.
+Example:
+
+ $ dumpkmap > keymap
+
-------------------------------
=item dutmp
@@ -2108,4 +2112,4 @@
=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 d590237..ec6f504 100644
--- a/docs/busybox.sgml
+++ b/docs/busybox.sgml
@@ -796,6 +796,16 @@
<para>
Prints out a binary keyboard translation table to standard input.
</para>
+
+ <para>
+ Example:
+ </para>
+
+ <para>
+ <screen>
+ $ dumpkmap < keymap
+ </screen>
+ </para>
</sect1>
<sect1 id="dutmp">
diff --git a/usage.c b/usage.c
index 35f63db..5fe92d2 100644
--- a/usage.c
+++ b/usage.c
@@ -220,7 +220,7 @@
#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 @@
#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 @@
#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 @@
#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