blob: 0af256c6c5e57c6c53d260613cb61bfd5bccfc7d [file] [log] [blame]
Rob Landleycb376ee2006-08-04 21:05:33 +00001/* Minimal wrapper to build an individual busybox applet.
2 *
3 * Copyright 2005 Rob Landley <rob@landley.net
4 *
5 * Licensed under GPLv2 or later, see file License in this tarball for details
6 */
7
8const char *bb_applet_name;
9
10#include <stdio.h>
11#include <stdlib.h>
12#include "usage.h"
13
14int main(int argc, char *argv[])
15{
16 bb_applet_name=argv[0];
17
18 return APPLET_main(argc,argv);
19}
20
21void bb_show_usage(void)
22{
23 printf(APPLET_full_usage "\n");
24
25 exit(1);
26}