aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@frippery.org>2015-05-30 17:13:52 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2015-10-30 19:00:38 +0100
commitae57af6e78ed7179b2b12675ad86adc4e8d5bebd (patch)
tree26c8da30e1ac23709a4d60285f951c4999440cc0
parent112889d70670a23ecf8d493eab7e632b47435bb9 (diff)
downloadbusybox-w32-ae57af6e78ed7179b2b12675ad86adc4e8d5bebd.tar.gz
busybox-w32-ae57af6e78ed7179b2b12675ad86adc4e8d5bebd.tar.bz2
busybox-w32-ae57af6e78ed7179b2b12675ad86adc4e8d5bebd.zip
busybox: alter help message in standalone shell mode
Signed-off-by: Ron Yorston <rmy@frippery.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/appletlib.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 58bb2f1a0..95e589e74 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -641,10 +641,19 @@ static int busybox_main(char **argv)
641 ) 641 )
642 " or: function [arguments]...\n" 642 " or: function [arguments]...\n"
643 "\n" 643 "\n"
644 IF_NOT_FEATURE_SH_STANDALONE(
644 "\tBusyBox is a multi-call binary that combines many common Unix\n" 645 "\tBusyBox is a multi-call binary that combines many common Unix\n"
645 "\tutilities into a single executable. Most people will create a\n" 646 "\tutilities into a single executable. Most people will create a\n"
646 "\tlink to busybox for each function they wish to use and BusyBox\n" 647 "\tlink to busybox for each function they wish to use and BusyBox\n"
647 "\twill act like whatever it was invoked as.\n" 648 "\twill act like whatever it was invoked as.\n"
649 )
650 IF_FEATURE_SH_STANDALONE(
651 "\tBusyBox is a multi-call binary that combines many common Unix\n"
652 "\tutilities into a single executable. The shell in this build\n"
653 "\tis configured to run built-in utilities without $PATH search.\n"
654 "\tYou don't need to install a link to busybox for each utility.\n"
655 "\tTo run external program, use full path (/sbin/ip instead of ip).\n"
656 )
648 "\n" 657 "\n"
649 "Currently defined functions:\n" 658 "Currently defined functions:\n"
650 ); 659 );