* include/applets.h (CONFIG_LOSETUP): New.
* include/usage.h (losetup_trivial_usage, losetup_full_usage): New.
* util-linux/Makefile: Add losetup.o.
* util-linux/config.in: Add losetup prompt.
* util-linux/losetup.c: New.
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