Lines Matching refs:help

29   struct double_list *help;  member
55 char *dlist_zap(struct double_list **help) in dlist_zap() argument
57 struct double_list *dd = dlist_pop(help); in dlist_zap()
65 int zap_blank_lines(struct double_list **help) in zap_blank_lines() argument
69 while (*help) { in zap_blank_lines()
72 s = trim((*help)->data); in zap_blank_lines()
76 free(dlist_zap(help)); in zap_blank_lines()
92 char **grab_dashlines(struct double_list **help, struct double_list **from, in grab_dashlines() argument
100 zap_blank_lines(help); in grab_dashlines()
101 *from = *help; in grab_dashlines()
112 if (*from == *help) return 0; in grab_dashlines()
127 if (*help == *from) *help = 0; in grab_dashlines()
172 dlist_add(&(new->help), line); in parse()
255 if (catch->help && (that = keyword("usage:", catch->help->data))) { in main()
276 tusage = dlist_zap(&throw->help); in main()
277 tdashlines = grab_dashlines(&throw->help, &tfrom, &tlen); in main()
278 cusage = dlist_zap(&catch->help); in main()
279 cdashlines = grab_dashlines(&catch->help, &cfrom, &clen); in main()
280 anchor = catch->help; in main()
298 if (tfrom && tfrom != throw->help) { in main()
299 if (throw->help || catch->help) dlist_add(&cfrom, strdup("")); in main()
304 while (throw->help && throw->help != tfrom) in main()
305 dlist_add(&cfrom, dlist_zap(&throw->help)); in main()
364 throw->help = anchor->prev->prev; in main()
367 this = throw->help->data + throw->help_indent + 8 + len; in main()
380 if (sym->help) { in main()
388 dd = sym->help; in main()
405 if (dd == sym->help) break; in main()