Don't say "see toybox --help" in "toybox --help".

This commit is contained in:
Rob Landley 2022-03-22 14:29:17 -05:00
parent 1ba8a12c4d
commit 0fd6b76887

6
main.c
View File

@ -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 (;;) {