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
|
|
|
*/
|
|
|
|
|
2006-10-04 02:30:43 +05:30
|
|
|
const char *applet_name;
|
2006-08-05 02:35:33 +05:30
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
2006-10-20 03:47:44 +05:30
|
|
|
//Ok to remove? #include "bb_config.h"
|
2006-08-05 02:35:33 +05:30
|
|
|
#include "usage.h"
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
2006-10-04 02:30:43 +05:30
|
|
|
applet_name=argv[0];
|
2006-08-05 02:35:33 +05:30
|
|
|
|
|
|
|
return APPLET_main(argc,argv);
|
|
|
|
}
|
|
|
|
|
|
|
|
void bb_show_usage(void)
|
|
|
|
{
|
|
|
|
printf(APPLET_full_usage "\n");
|
|
|
|
|
|
|
|
exit(1);
|
|
|
|
}
|