svn commit: [26201] trunk/busybox/shell

vapier at busybox.net vapier at busybox.net
Fri Apr 24 06:40:30 UTC 2009


Author: vapier
Date: 2009-04-24 06:40:30 +0000 (Fri, 24 Apr 2009)
New Revision: 26201

Log:
do not tell people they can enter "help" if help has actually been disabled

Modified:
   trunk/busybox/shell/hush.c


Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c	2009-04-24 06:26:18 UTC (rev 26200)
+++ trunk/busybox/shell/hush.c	2009-04-24 06:40:30 UTC (rev 26201)
@@ -6259,7 +6259,9 @@
 
 	if (!ENABLE_FEATURE_SH_EXTRA_QUIET && G_interactive_fd) {
 		printf("\n\n%s hush - the humble shell\n", bb_banner);
-		printf("Enter 'help' for a list of built-in commands.\n\n");
+		if (ENABLE_HUSH_HELP)
+			puts("Enter 'help' for a list of built-in commands.");
+		puts("");
 	}
 
 	parse_and_run_file(stdin);



More information about the busybox-cvs mailing list