Home | History | Annotate | Download | only in other

Lines Matching refs:toys

32 #include "toys.h"
36 if (toys.optflags & FLAG_h)
39 toys.which = t;
42 if (toys.optflags & FLAG_h) xprintf("</blockquote></pre>\n");
45 // The simple help is just toys.which = toy_find("name"); show_help(stdout);
52 if (!(toys.optflags & FLAG_a)) {
53 struct toy_list *t = toys.which;
55 if (*toys.optargs && !(t = toy_find(*toys.optargs)))
56 error_exit("Unknown command '%s'", *toys.optargs);
61 if (toys.optflags & FLAG_h) {
63 for (i=0; i < toys.toycount; i++)
69 for (i = 0; i < toys.toycount; i++) {
70 if (toys.optflags & FLAG_h) xprintf("<hr>\n<pre>\n");
77 if (toys.optflags & FLAG_h) xprintf("</pre>\n");
80 if (toys.optflags & FLAG_h) xprintf("</html>");