aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/other/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/help.c b/toys/other/help.c
index eba3cb1e..3ac4f128 100644
--- a/toys/other/help.c
+++ b/toys/other/help.c
@@ -51,7 +51,7 @@ void help_main(void)
int i;
// If called with no arguments as a builtin form the shell, show all builtins
- if (!*toys.optargs && (toys.optflags&FLAGS_BUILTIN)) {
+ if (!*toys.optargs && toys.rebound) {
for (i = 0; i < toys.toycount; i++) {
if (!(toy_list[i].flags&(TOYFLAG_NOFORK|TOYFLAG_MAYFORK))) continue;
toys.which = toy_list+i;