aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h11
2 files changed, 10 insertions, 2 deletions
diff --git a/include/applets.h b/include/applets.h
index 60fb8bf2b..15ccf9cea 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -160,6 +160,7 @@ IF_FINDFS(APPLET(findfs, _BB_DIR_SBIN, _BB_SUID_MAYBE))
IF_FLASH_ERASEALL(APPLET(flash_eraseall, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
IF_FLASH_LOCK(APPLET_ODDNAME(flash_lock, flash_lock_unlock, _BB_DIR_USR_SBIN, _BB_SUID_DROP, flash_lock))
IF_FLASH_UNLOCK(APPLET_ODDNAME(flash_unlock, flash_lock_unlock, _BB_DIR_USR_SBIN, _BB_SUID_DROP, flash_unlock))
+IF_FLASHCP(APPLET(flashcp, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
IF_FOLD(APPLET(fold, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_FREE(APPLET(free, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_FREERAMDISK(APPLET(freeramdisk, _BB_DIR_SBIN, _BB_SUID_DROP))
diff --git a/include/usage.h b/include/usage.h
index 0d01577c7..eae9650ca 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1286,8 +1286,15 @@
#define flash_eraseall_full_usage "\n\n" \
"Erase an MTD device\n" \
"\nOptions:" \
- "\n -j format the device for jffs2" \
- "\n -q don't display progress messages"
+ "\n -j Format the device for jffs2" \
+ "\n -q Don't display progress messages" \
+
+#define flashcp_trivial_usage \
+ "-v FILE MTD_DEVICE"
+#define flashcp_full_usage "\n\n" \
+ "Copy an image to MTD device\n" \
+ "\nOptions:" \
+ "\n -v Verbose" \
#define fold_trivial_usage \
"[-bs] [-w WIDTH] [FILE]"