Lines Matching refs:topic
61 help_getnext(int fd, char **topic, char **subtopic, char **desc) in help_getnext() argument
66 *topic = *subtopic = *desc = NULL; in help_getnext()
77 if (*cp == 'T' && *topic == NULL) { in help_getnext()
80 *topic = strdup(cp + 1); in help_getnext()
91 if (*topic == NULL) { in help_getnext()
102 help_emitsummary(char *topic, char *subtopic, char *desc) in help_emitsummary() argument
107 pager_output(topic); in help_emitsummary()
108 i = strlen(topic); in help_emitsummary()
128 char *topic, *subtopic, *t, *s, *d; in command_help() local
140 topic = subtopic = NULL; in command_help()
146 topic = strdup(argv[1]); in command_help()
149 topic = strdup("help"); in command_help()
158 doindex = strcmp(topic, "index") == 0? 1 : 0; in command_help()
169 } else if (strcmp(topic, t)) { in command_help()
207 "no help available for '%s'", topic); in command_help()
208 free(topic); in command_help()
212 free(topic); in command_help()