Mercurial > hg > toybox
comparison lib/lib.c @ 234:163498bf547b
Move NEWTOY() list from end of toylist.h to generated/newtoys.h.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 19 Jan 2008 17:43:27 -0600 |
parents | 104792581cc9 |
children | 67a0839bda77 |
comparison
equal
deleted
inserted
replaced
233:d4176f3f3835 | 234:163498bf547b |
---|---|
49 { | 49 { |
50 va_list va; | 50 va_list va; |
51 | 51 |
52 if (CFG_HELP && toys.exithelp) { | 52 if (CFG_HELP && toys.exithelp) { |
53 *toys.optargs=*toys.argv; | 53 *toys.optargs=*toys.argv; |
54 help_main(); | 54 USE_HELP(help_main();) // dear gcc: shut up. |
55 fprintf(stderr,"\n"); | 55 fprintf(stderr,"\n"); |
56 } | 56 } |
57 | 57 |
58 va_start(va, msg); | 58 va_start(va, msg); |
59 verror_msg(msg, 0, va); | 59 verror_msg(msg, 0, va); |