[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [PATCH] busybox: alter help message in standalone shell mode
From:       Ron Yorston <rmy () frippery ! org>
Date:       2015-05-30 16:13:52
Message-ID: 5569e1c0.+qGSQnEovkVJIbQu%rmy () frippery ! org
[Download RAW message or body]

Signed-off-by: Ron Yorston <rmy@pobox.com>
---
 libbb/appletlib.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 46849e4..2fd3adc 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -642,10 +642,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.  The shell in this version\n"
+			"\thas been configured to prefer built-in utilities to external\n"
+			"\tbinaries.  This avoids having to install a link to busybox for\n"
+			"\teach function to be invoked.\n"
+			)
 			"\n"
 			"Currently defined functions:\n"
 		);
-- 
2.1.0

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic