From 439b40bd12f55cfb2f28d3f52831041d21b4393e Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sun, 23 Mar 2014 16:01:28 +0000 Subject: Alter help message if configured with standalone shell --- libbb/appletlib.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 0a9d4b11c..5e96ae75f 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c @@ -647,10 +647,19 @@ static int busybox_main(char **argv) ) " or: function [arguments]...\n" "\n" + IF_NOT_FEATURE_SH_STANDALONE( "\tBusyBox is a multi-call binary that combines many common Unix\n" "\tutilities into a single executable. Most people will create a\n" "\tlink to busybox for each function they wish to use and BusyBox\n" "\twill act like whatever it was invoked as.\n" + ) + IF_FEATURE_SH_STANDALONE( + "\tBusyBox is a multi-call binary that combines many common Unix\n" + "\tutilities into a single executable. This version has been\n" + "\tconfigured to prefer built-in utilities to external binaries.\n" + "\tThis avoids having to install a link to busybox for each\n" + "\tfunction to be invoked.\n" + ) "\n" "Currently defined functions:\n" ); -- cgit v1.2.3-55-g6feb