projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67c1c7b
)
do not tell people they can enter "help" if help has actually been disabled
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 24 Apr 2009 06:40:30 +0000
(06:40 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 24 Apr 2009 06:40:30 +0000
(06:40 -0000)
shell/hush.c
patch
|
blob
|
history
diff --git
a/shell/hush.c
b/shell/hush.c
index 924d826cc4daf056ad56ccb2b0d3156838a050cd..fcbd96c4d200d099498978b274d2d5d940a356a8 100644
(file)
--- a/
shell/hush.c
+++ b/
shell/hush.c
@@
-6259,7
+6259,9
@@
int hush_main(int argc, char **argv)
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);