aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-04-26 04:31:03 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-26 04:31:03 +0200
commit0bfb9c2cf0e8b711634014e06d39b5f47c5a95c2 (patch)
tree1021b1b9ea9dc407b25d92723e7a64081db3c3e5
parenta6108423228e5dcd5f3feb31f68c6e46a8ee3123 (diff)
downloadbusybox-w32-0bfb9c2cf0e8b711634014e06d39b5f47c5a95c2.tar.gz
busybox-w32-0bfb9c2cf0e8b711634014e06d39b5f47c5a95c2.tar.bz2
busybox-w32-0bfb9c2cf0e8b711634014e06d39b5f47c5a95c2.zip
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 3f7f56e04..162ee302d 100644
--- a/miscutils/ubi_attach_detach.c
+++ b/miscutils/ubi_attach_detach.c
@@ -107,17 +107,26 @@
107//usage:#define ubirmvol_trivial_usage 107//usage:#define ubirmvol_trivial_usage
108//usage: "UBI_DEVICE -n VOLID" 108//usage: "UBI_DEVICE -n VOLID"
109//usage:#define ubirmvol_full_usage "\n\n" 109//usage:#define ubirmvol_full_usage "\n\n"
110//usage: "Remove UBI Volume\n" 110//usage: "Remove UBI volume\n"
111//usage: "\nOptions:" 111//usage: "\nOptions:"
112//usage: "\n -n VOLID Volume ID" 112//usage: "\n -n VOLID Volume ID"
113//usage: 113//usage:
114//usage:#define ubirsvol_trivial_usage 114//usage:#define ubirsvol_trivial_usage
115//usage: "UBI_DEVICE -n VOLID -s SIZE" 115//usage: "UBI_DEVICE -n VOLID -s SIZE"
116//usage:#define ubirsvol_full_usage "\n\n" 116//usage:#define ubirsvol_full_usage "\n\n"
117//usage: "Resize UBI Volume\n" 117//usage: "Resize UBI volume\n"
118//usage: "\nOptions:" 118//usage: "\nOptions:"
119//usage: "\n -n VOLID Volume ID to resize" 119//usage: "\n -n VOLID Volume ID to resize"
120//usage: "\n -s SIZE Size in bytes" 120//usage: "\n -s SIZE Size in bytes"
121//usage:
122//usage:#define ubiupdatevol_trivial_usage
123//usage: "UBI_DEVICE [IMG_FILE]"
124//usage:#define ubiupdatevol_full_usage "\n\n"
125//usage: "Update UBI volume\n"
126//usage: "\nOptions:"
127//usage: "\n -t Truncate UBI volume"
128//usage: "\n -s SIZE Bytes in input (if reading stdin)"
129
121 130
122int ubi_tools_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 131int ubi_tools_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
123int ubi_tools_main(int argc UNUSED_PARAM, char **argv) 132int ubi_tools_main(int argc UNUSED_PARAM, char **argv)