aboutsummaryrefslogtreecommitdiff
path: root/lib/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/help.c')
-rw-r--r--lib/help.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/help.c b/lib/help.c
index 6a0c7b4a..9965539d 100644
--- a/lib/help.c
+++ b/lib/help.c
@@ -25,6 +25,11 @@ void show_help(void)
while (i--) s += strlen(s) + 1;
// If it's an alias, restart search for real name
if (*s != 255) break;
+ if (!CFG_TOYBOX) {
+ s = xmprintf("See %s --help\n", ++s);
+
+ break;
+ }
i = toy_find(++s)-toy_list;
}