summaryrefslogtreecommitdiff
path: root/applets/usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/usage.c')
-rw-r--r--applets/usage.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/applets/usage.c b/applets/usage.c
new file mode 100644
index 0000000..d888fa9
--- /dev/null
+++ b/applets/usage.c
@@ -0,0 +1,17 @@
+/* vi: set sw=4 ts=4: */
+#include <unistd.h>
+
+#include "../include/autoconf.h"
+#include "../include/busybox.h"
+
+static const char usage_messages[] =
+#define MAKE_USAGE
+#include "usage.h"
+#include "applets.h"
+;
+
+int main(void)
+{
+ write(1, usage_messages, sizeof(usage_messages));
+ return 0;
+}