aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2014-03-23 16:01:28 +0000
committerRon Yorston <rmy@pobox.com>2014-03-23 16:01:28 +0000
commit439b40bd12f55cfb2f28d3f52831041d21b4393e (patch)
tree2cbeb6bec7e7f7fa5abbbe8411f546a5e870a2fe
parent7b9626a2d2735985ad5319d5c79529fa457454f0 (diff)
downloadbusybox-w32-439b40bd12f55cfb2f28d3f52831041d21b4393e.tar.gz
busybox-w32-439b40bd12f55cfb2f28d3f52831041d21b4393e.tar.bz2
busybox-w32-439b40bd12f55cfb2f28d3f52831041d21b4393e.zip
Alter help message if configured with standalone shell
-rw-r--r--libbb/appletlib.c9
1 files changed, 9 insertions, 0 deletions
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)
647 ) 647 )
648 " or: function [arguments]...\n" 648 " or: function [arguments]...\n"
649 "\n" 649 "\n"
650 IF_NOT_FEATURE_SH_STANDALONE(
650 "\tBusyBox is a multi-call binary that combines many common Unix\n" 651 "\tBusyBox is a multi-call binary that combines many common Unix\n"
651 "\tutilities into a single executable. Most people will create a\n" 652 "\tutilities into a single executable. Most people will create a\n"
652 "\tlink to busybox for each function they wish to use and BusyBox\n" 653 "\tlink to busybox for each function they wish to use and BusyBox\n"
653 "\twill act like whatever it was invoked as.\n" 654 "\twill act like whatever it was invoked as.\n"
655 )
656 IF_FEATURE_SH_STANDALONE(
657 "\tBusyBox is a multi-call binary that combines many common Unix\n"
658 "\tutilities into a single executable. This version has been\n"
659 "\tconfigured to prefer built-in utilities to external binaries.\n"
660 "\tThis avoids having to install a link to busybox for each\n"
661 "\tfunction to be invoked.\n"
662 )
654 "\n" 663 "\n"
655 "Currently defined functions:\n" 664 "Currently defined functions:\n"
656 ); 665 );