diff options
Diffstat (limited to 'miscutils/flash_eraseall.c')
-rw-r--r-- | miscutils/flash_eraseall.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/miscutils/flash_eraseall.c b/miscutils/flash_eraseall.c index 68596e11b..33803f87d 100644 --- a/miscutils/flash_eraseall.c +++ b/miscutils/flash_eraseall.c | |||
@@ -10,6 +10,14 @@ | |||
10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | //usage:#define flash_eraseall_trivial_usage | ||
14 | //usage: "[-jq] MTD_DEVICE" | ||
15 | //usage:#define flash_eraseall_full_usage "\n\n" | ||
16 | //usage: "Erase an MTD device\n" | ||
17 | //usage: "\nOptions:" | ||
18 | //usage: "\n -j Format the device for jffs2" | ||
19 | //usage: "\n -q Don't display progress messages" | ||
20 | |||
13 | #include "libbb.h" | 21 | #include "libbb.h" |
14 | #include <mtd/mtd-user.h> | 22 | #include <mtd/mtd-user.h> |
15 | #include <linux/jffs2.h> | 23 | #include <linux/jffs2.h> |