/* Minimal wrapper to build an individual busybox applet.
 *
 * Copyright 2005 Rob Landley <rob@landley.net
 * 
 * Licensed under GPLv2 or later, see file License in this tarball for details
 */

const char *bb_applet_name;

#include <stdio.h>
#include <stdlib.h>
#include "bb_config.h"
#include "usage.h"

int main(int argc, char *argv[])
{
	bb_applet_name=argv[0];

	return APPLET_main(argc,argv);
}

void bb_show_usage(void)
{
	printf(APPLET_full_usage "\n");

	exit(1);
}
