summaryrefslogtreecommitdiff
path: root/scripts/usage.c
diff options
context:
space:
mode:
authorRob Landley2006-04-27 23:34:46 +0000
committerRob Landley2006-04-27 23:34:46 +0000
commit7e21d5f6b1bdac9c20139e8bef82b17559e548a0 (patch)
tree08c1b12a37d2ef74b4471e154fe4227d3b6ae917 /scripts/usage.c
parentd5b9428bb6e9d7524f6ef24868ce6394ade08255 (diff)
downloadbusybox-7e21d5f6b1bdac9c20139e8bef82b17559e548a0.zip
busybox-7e21d5f6b1bdac9c20139e8bef82b17559e548a0.tar.gz
Patch from Dennis Vlasenko to add the option to compress help text.
Diffstat (limited to 'scripts/usage.c')
-rw-r--r--scripts/usage.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/usage.c b/scripts/usage.c
new file mode 100644
index 0000000..06f059a
--- /dev/null
+++ b/scripts/usage.c
@@ -0,0 +1,14 @@
+#include <unistd.h>
+#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;
+}