From 0fd6b768879f8f48f54c314fb06e9a66f9b4d987 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 22 Mar 2022 14:29:17 -0500 Subject: [PATCH] Don't say "see toybox --help" in "toybox --help". --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 95c42fa42..b020a42dc 100644 --- a/main.c +++ b/main.c @@ -82,9 +82,9 @@ void show_help(FILE *out, int full) char *s, *ss; if (!(full&2)) - fprintf(out, "Toybox %s" USE_TOYBOX(" multicall binary") - ": https://landley.net/toybox" - USE_TOYBOX(" (see toybox --help)") "\n\n", toybox_version); + fprintf(out, "Toybox %s"USE_TOYBOX(" multicall binary")"%s\n\n", + toybox_version, (CFG_TOYBOX && i) ? " (see toybox --help)" + : " (see https://landley.net/toybox)"); if (CFG_TOYBOX_HELP) { for (;;) {