mirror of
https://github.com/sheumann/hush.git
synced 2024-08-20 04:28:57 +00:00
27 lines
453 B
C
27 lines
453 B
C
|
/* 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 "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);
|
||
|
}
|