From 55928b1e0a08d84a5cbc50020f0a8c1024f5b6ce Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 19 Jan 2008 17:43:27 -0600 Subject: Move NEWTOY() list from end of toylist.h to generated/newtoys.h. --- toys/help.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'toys/help.c') 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) -- cgit v1.2.3