Apply a patch from Evin Robertson -- new pivot_root applet.
[oweals/busybox.git] / usage.c
diff --git a/usage.c b/usage.c
index 52c0a691570d7a18aaf52a3c599c15b23946e061..13107c6e05c8a06c5455699d90e9de83712963e5 100644 (file)
--- a/usage.c
+++ b/usage.c
@@ -1012,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"