aboutsummaryrefslogtreecommitdiff
path: root/toys/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/help.c')
-rw-r--r--toys/help.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/toys/help.c b/toys/help.c
index 472ccdea..515a09b5 100644
--- a/toys/help.c
+++ b/toys/help.c
@@ -6,6 +6,8 @@
*
* Not in SUSv3, but exists as a bash builtin.
+USE_HELP(NEWTOY(help, "<1", TOYFLAG_BIN))
+
config HELP
bool "help"
default y
@@ -31,7 +33,7 @@ config HELP_LONG
#define NEWTOY(name,opt,flags) help_##name "\0"
#define OLDTOY(name,oldname,opts,flags) "\xff" #oldname "\0"
static char *help_data =
-#include "toys/toylist.h"
+#include "generated/newtoys.h"
;
void help_main(void)