Lines Matching refs:categories
53 static const struct category_descriptors categories[] = { variable
90 if(!(helptext[i].categories & category)) in print_category()
103 if(helptext[i].categories & category) { in print_category()
120 for(i = 0; i < ARRAYSIZE(categories); ++i) in get_category_content()
121 if(curl_strequal(categories[i].opt, category)) { in get_category_content()
122 printf("%s: %s\n", categories[i].opt, categories[i].desc); in get_category_content()
123 print_category(categories[i].category, cols); in get_category_content()
133 for(i = 0; i < ARRAYSIZE(categories); ++i) in get_categories()
134 printf(" %-11s %s\n", categories[i].opt, categories[i].desc); in get_categories()
142 for(i = 0; i < ARRAYSIZE(categories); ++i) { in get_categories_list()
143 size_t len = strlen(categories[i].opt); in get_categories_list()
144 if(i == ARRAYSIZE(categories) - 1) { in get_categories_list()
147 printf("%s.\n", categories[i].opt); in get_categories_list()
150 printf("\n%s.\n", categories[i].opt); in get_categories_list()
153 printf("%s, ", categories[i].opt); in get_categories_list()
158 printf("\n%s, ", categories[i].opt); in get_categories_list()