summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-04-26 02:31:03 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2011-04-26 02:31:03 (GMT)
commit0bfb9c2cf0e8b711634014e06d39b5f47c5a95c2 (patch)
tree1021b1b9ea9dc407b25d92723e7a64081db3c3e5
parenta6108423228e5dcd5f3feb31f68c6e46a8ee3123 (diff)
downloadbusybox-0bfb9c2cf0e8b711634014e06d39b5f47c5a95c2.tar.gz
busybox-0bfb9c2cf0e8b711634014e06d39b5f47c5a95c2.tar.bz2
add help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--miscutils/ubi_attach_detach.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/miscutils/ubi_attach_detach.c b/miscutils/ubi_attach_detach.c
index 3f7f56e..162ee30 100644
--- a/miscutils/ubi_attach_detach.c
+++ b/miscutils/ubi_attach_detach.c
@@ -107,17 +107,26 @@
//usage:#define ubirmvol_trivial_usage
//usage: "UBI_DEVICE -n VOLID"
//usage:#define ubirmvol_full_usage "\n\n"
-//usage: "Remove UBI Volume\n"
+//usage: "Remove UBI volume\n"
//usage: "\nOptions:"
//usage: "\n -n VOLID Volume ID"
//usage:
//usage:#define ubirsvol_trivial_usage
//usage: "UBI_DEVICE -n VOLID -s SIZE"
//usage:#define ubirsvol_full_usage "\n\n"
-//usage: "Resize UBI Volume\n"
+//usage: "Resize UBI volume\n"
//usage: "\nOptions:"
//usage: "\n -n VOLID Volume ID to resize"
//usage: "\n -s SIZE Size in bytes"
+//usage:
+//usage:#define ubiupdatevol_trivial_usage
+//usage: "UBI_DEVICE [IMG_FILE]"
+//usage:#define ubiupdatevol_full_usage "\n\n"
+//usage: "Update UBI volume\n"
+//usage: "\nOptions:"
+//usage: "\n -t Truncate UBI volume"
+//usage: "\n -s SIZE Bytes in input (if reading stdin)"
+
int ubi_tools_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int ubi_tools_main(int argc UNUSED_PARAM, char **argv)