Lines Matching refs:opt
48 const char *opt; member
88 for(i = 0; helptext[i].opt; ++i) { in print_category()
92 len = strlen(helptext[i].opt); in print_category()
102 for(i = 0; helptext[i].opt; ++i) in print_category()
104 size_t opt = longopt; in print_category() local
106 if(opt + desclen >= (cols - 2)) { in print_category()
108 opt = (cols - 3) - desclen; in print_category()
110 opt = 0; in print_category()
112 printf(" %-*s %s\n", (int)opt, helptext[i].opt, helptext[i].desc); in print_category()
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()
134 printf(" %-11s %s\n", categories[i].opt, categories[i].desc); in get_categories()
143 size_t len = strlen(categories[i].opt); 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()