aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h7
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index cfb278123..5fe01de5f 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -193,6 +193,9 @@
#ifdef CONFIG_FDFLUSH
APPLET(fdflush, fdflush_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_FDFORMAT
+ APPLET(fdformat, fdformat_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_FDISK
APPLET(fdisk, fdisk_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
#endif
diff --git a/include/usage.h b/include/usage.h
index a570d3519..14f2e2859 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -571,6 +571,13 @@
#define fdflush_full_usage \
"Forces floppy disk drive to detect disk change"
+#define fdformat_trivial_usage \
+ "[-n] DEVICE"
+#define fdformat_full_usage \
+ "Low-level formats a floppy disk\n\n" \
+ "Options:\n" \
+ "\t-n\tDon't verify after format"
+
#define fdisk_trivial_usage \
"[-l] [-v] [-b SSZ] [-u] DISK"
#define fdisk_full_usage \