Apply a patch from Evin Robertson -- new pivot_root applet.
[oweals/busybox.git] / usage.c
diff --git a/usage.c b/usage.c
index 215871b5a27be7a44ea9cdfd533e0e3fd4c7196d..13107c6e05c8a06c5455699d90e9de83712963e5 100644 (file)
--- a/usage.c
+++ b/usage.c
@@ -241,13 +241,23 @@ const char dos2unix_usage[] =
        ;
 #endif
 
+#if defined BB_DPKG
+const char dpkg_usage[] =
+       "udpkg <-i|-r|--unpack|--configure> my.deb\n"
+       "WORK IN PROGRESS, only usefull for debian-installer\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+#endif
+       ;
+#endif
+
 #if defined BB_DPKG_DEB
 const char dpkg_deb_usage[] =
         "dpkg-deb [-cexX] file directory"
 #ifndef BB_FEATURE_TRIVIAL_HELP
        "\n\nPerform actions on debian packages (.debs)\n\n"
        "Options:\n"
-       "\t-c\tList contents of filesystem tree\n"
+       "\t-c\tList contents of filesystem tree (verbose)\n"
+       "\t-l\tList contents of filesystem tree (.list format)\n"
        "\t-e\tExtract control files to directory\n"    
        "\t-x\tExctract packages filesystem tree to directory\n"
        "\t-X\tVerbose extract"
@@ -959,9 +969,13 @@ const char mv_usage[] =
 
 #if defined BB_NC
 const char nc_usage[] =
-       "nc [IP] [port]" 
+       "nc [-p PORT] IP PORT\n"
+       "   or: nc -l -p PORT"
 #ifndef BB_FEATURE_TRIVIAL_HELP
-       "\n\nNetcat opens a pipe to IP:port"
+       "\n\nNetcat opens a pipe to IP:PORT\n"
+       "Options:\n"
+       "\t-l\tListen on the socket.\n"
+       "\t-p PORT\tBind the local port to PORT."
 #endif
        ;
 #endif
@@ -998,6 +1012,16 @@ const char ping_usage[] =
 #endif
 #endif
 
+#if defined BB_PIVOT_ROOT
+const char pivot_root_usage[] =
+       "pivot_root new_root put_old"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+       "\n\nMove the current root file system to put_old and make new_root\n"
+       "the new root file system."
+#endif
+       ;
+#endif
+
 #if defined BB_POWEROFF
 const char poweroff_usage[] =
        "poweroff"