2006-08-05 02:35:33 +05:30
|
|
|
/* Minimal wrapper to build an individual busybox applet.
|
|
|
|
*
|
|
|
|
* Copyright 2005 Rob Landley <rob@landley.net
|
2006-09-17 21:58:10 +05:30
|
|
|
*
|
2006-09-22 08:22:41 +05:30
|
|
|
* Licensed under GPL version 2, see file LICENSE in this tarball for details
|
2006-08-05 02:35:33 +05:30
|
|
|
*/
|
|
|
|
|
|
|
|
const char *bb_applet_name;
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
2006-08-05 06:11:39 +05:30
|
|
|
#include "bb_config.h"
|
2006-08-05 02:35:33 +05:30
|
|
|
#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);
|
|
|
|
}
|