aboutsummaryrefslogtreecommitdiff
path: root/toys/help.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2008-01-19 17:43:27 -0600
committerRob Landley <rob@landley.net>2008-01-19 17:43:27 -0600
commit55928b1e0a08d84a5cbc50020f0a8c1024f5b6ce (patch)
tree22a4175b86fc92f3ac5745f658dcb4f4f339fcec /toys/help.c
parent2896480c4918f2accccb8301bec457a7bff7377e (diff)
downloadtoybox-55928b1e0a08d84a5cbc50020f0a8c1024f5b6ce.tar.gz
Move NEWTOY() list from end of toylist.h to generated/newtoys.h.
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)