[git commit] busybox: alter help message in standalone shell mode
Denys Vlasenko
vda.linux at googlemail.com
Fri Oct 30 18:00:38 UTC 2015
commit: http://git.busybox.net/busybox/commit/?id=ae57af6e78ed7179b2b12675ad86adc4e8d5bebd
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Ron Yorston <rmy at frippery.org>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
libbb/appletlib.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 58bb2f1..95e589e 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -641,10 +641,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 build\n"
+ "\tis configured to run built-in utilities without $PATH search.\n"
+ "\tYou don't need to install a link to busybox for each utility.\n"
+ "\tTo run external program, use full path (/sbin/ip instead of ip).\n"
+ )
"\n"
"Currently defined functions:\n"
);
More information about the busybox-cvs
mailing list