aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2022-03-22 14:29:17 -0500
committerRob Landley <rob@landley.net>2022-03-22 14:29:17 -0500
commit0fd6b768879f8f48f54c314fb06e9a66f9b4d987 (patch)
treee07c4eff7d3d1f7f42f60bd7de91af5ec80bfffe
parent1ba8a12c4da4439a310864c278e156bce0774537 (diff)
downloadtoybox-0fd6b768879f8f48f54c314fb06e9a66f9b4d987.tar.gz
Don't say "see toybox --help" in "toybox --help".
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 95c42fa4..b020a42d 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 (;;) {