Lines Matching refs:category
50 unsigned int category; member
82 static void print_category(unsigned int category, unsigned int cols) in print_category() argument
90 if(!(helptext[i].categories & category)) in print_category()
103 if(helptext[i].categories & category) { in print_category()
117 static int get_category_content(const char *category, unsigned int cols) in get_category_content() argument
121 if(curl_strequal(categories[i].opt, category)) { in get_category_content()
123 print_category(categories[i].category, cols); in get_category_content()
233 void tool_help(char *category) in tool_help() argument
237 if(!category) { in tool_help()
254 else if(curl_strequal(category, "all")) in tool_help()
258 else if(curl_strequal(category, "category")) in tool_help()
260 else if(category[0] == '-') { in tool_help()
264 if(category[1] == '-') { in tool_help()
265 char *lookup = &category[2]; in tool_help()
277 else if(!category[2]) in tool_help()
278 a = findshortopt(category[1]); in tool_help()
290 msnprintf(cmdbuf, sizeof(cmdbuf), "\n %s", category); in tool_help()
303 else if(get_category_content(category, cols)) { in tool_help()
307 free(category); in tool_help()