From 0f0c0b41ced8c30d382a0490719c79371260b9d1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 3 Apr 2001 17:05:01 +0000 Subject: Make 'busybox --help' work as expected, closing bug #1139 -Erik --- applets/applets.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'applets/applets.c') diff --git a/applets/applets.c b/applets/applets.c index c2ccb88fa..10b44a5fc 100644 --- a/applets/applets.c +++ b/applets/applets.c @@ -49,6 +49,13 @@ extern void show_usage(void) const char *format_string; const char *usage_string = usage_messages; int i; + /* From busybox.c */ + extern int been_there_done_that; + + if (strcmp(applet_using->name, "busybox")==0) { + been_there_done_that=1; + busybox_main(0, NULL); + } for (i = applet_using - applets; i > 0; ) { if (!*usage_string++) { -- cgit v1.2.3