updated some usage info from a patch from robotti@metconnect.com
authorEric Andersen <andersen@codepoet.org>
Fri, 1 Sep 2000 16:12:57 +0000 (16:12 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 1 Sep 2000 16:12:57 +0000 (16:12 -0000)
 -Erik

applets/usage.c
docs/busybox.pod
docs/busybox.sgml
usage.c

index 35f63db8655a3f21ed06aa1f7db29644294b39fd..5fe92d28169ab37554832acfd4bea1d3e7695e92 100644 (file)
@@ -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
index e68b41b68c09986abb9193e1ad4148f952c60dca..accdaed23a6cd300f9b1faed6ed2c389ecd51f9f 100644 (file)
@@ -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 $
index d590237bf10dd5d7cf622bef5cecef70d48a5fe2..ec6f5041de5b7784be25f08a36f511782993b688 100644 (file)
                <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 35f63db8655a3f21ed06aa1f7db29644294b39fd..5fe92d28169ab37554832acfd4bea1d3e7695e92 100644 (file)
--- 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