summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h9
2 files changed, 12 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 0d310bd..6760fc5 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -269,6 +269,9 @@
#ifdef CONFIG_LOGREAD
APPLET(logread, logread_main, _BB_DIR_SBIN)
#endif
+#ifdef CONFIG_LOSETUP
+ APPLET(losetup, losetup_main, _BB_DIR_SBIN)
+#endif
#ifdef CONFIG_LS
APPLET(ls, ls_main, _BB_DIR_BIN)
#endif
diff --git a/include/usage.h b/include/usage.h
index c4ad044..6692aa5 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -989,6 +989,15 @@
#define logread_full_usage \
"Shows the messages from syslogd (using circular buffer)."
+#define losetup_trivial_usage \
+ "[OPTION]... LOOPDEVICE FILE\n" \
+ "or: losetup [OPTION]... -d LOOPDEVICE"
+#define losetup_full_usage \
+ "Associate LOOPDEVICE with FILE.\n\n" \
+ "Options:\n" \
+ "\t-d\t\tDisassociate LOOPDEVICE.\n" \
+ "\t-o OFFSET\tStart OFFSET bytes into FILE.\n"
+
#ifdef CONFIG_FEATURE_LS_TIMESTAMPS
#define USAGE_LS_TIMESTAMPS(a) a
#else