diff options
author | Denys Vlasenko | 2009-05-25 04:15:37 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-05-25 04:15:37 +0200 |
commit | bf2af9acb28ed6d8bbe351d669daaa140d0239f0 (patch) | |
tree | 3adba401caf5c25406f89ebe053a0d9dbb043b54 /include/usage.h | |
parent | 4f26c97b9a2fdf6d967eafa06c67d04e432840a1 (diff) | |
download | busybox-bf2af9acb28ed6d8bbe351d669daaa140d0239f0.zip busybox-bf2af9acb28ed6d8bbe351d669daaa140d0239f0.tar.gz |
flash_lock, flash_unlock: new applets
By Thierry Reding (thierry.reding AT avionic-design.de)
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index 1e327fb..e606925 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1248,6 +1248,17 @@ "$ find / -name passwd\n" \ "/etc/passwd\n" +#define flash_lock_trivial_usage \ + "MTD_DEVICE OFFSET SECTORS" +#define flash_lock_full_usage "\n\n" \ + "Lock part or all of an MTD device. If SECTORS is -1, then all sectors\n" \ + "will be locked, regardless of the value of OFFSET" + +#define flash_unlock_trivial_usage \ + "MTD_DEVICE" +#define flash_unlock_full_usage "\n\n" \ + "Unlock an MTD device" + #define flash_eraseall_trivial_usage \ "[-jq] MTD_DEVICE" #define flash_eraseall_full_usage "\n\n" \ |