From 0ec3ae72adba1d7bd165c316943deeceb72b6fed Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 4 Jan 2023 12:46:26 -0600 Subject: [PATCH] Fix help -ah to show nbd-client and nbd-server instead of "see hidden_alias". --- main.c | 2 +- www/git/index.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 www/git/index.html diff --git a/main.c b/main.c index 1982fcda..84f6973f 100644 --- a/main.c +++ b/main.c @@ -93,7 +93,7 @@ void show_help(FILE *out, int full) // If it's an alias, restart search for real name if (*s != 255) break; i = toy_find(++s)-toy_list; - if (full&4) { + if ((full&4) && toy_list[i].flags) { fprintf(out, "See %s\n", s, s); return; diff --git a/www/git/index.html b/www/git/index.html deleted file mode 100644 index bade8d1b..00000000 --- a/www/git/index.html +++ /dev/null @@ -1 +0,0 @@ -Not browseable: git clone https://landley.net/toybox/git -- 2.39.2