summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-09-01 16:12:57 +0000
committerEric Andersen2000-09-01 16:12:57 +0000
commit18a1014c959abea0f8693e5aea4248ba4848f1be (patch)
treebdaaf99d2db38ba070dd62fbad78a8de3f73d516
parentda542f3a0ca107d00be9ac00a5c8e23ef5af9c28 (diff)
downloadbusybox-18a1014c959abea0f8693e5aea4248ba4848f1be.zip
busybox-18a1014c959abea0f8693e5aea4248ba4848f1be.tar.gz
updated some usage info from a patch from robotti@metconnect.com
-Erik
-rw-r--r--applets/usage.c8
-rw-r--r--docs/busybox.pod6
-rw-r--r--docs/busybox.sgml10
-rw-r--r--usage.c8
4 files changed, 23 insertions, 9 deletions
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 @@ 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 e68b41b..accdaed 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 <ezanardi@ull.es>
=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 &lt; 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 @@ 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