Lines Matching refs:command
2 // The three words on each input lnie are command name, option string with
18 char *command;
80 // Break down a command string into linked list of "struct flag".
95 new->command = ++string;
98 if (list && list->command) {
131 new->command = string++;
157 char command[256], flags[1023], allflags[1024];
173 *command = *flags = *allflags = 0;
175 command, flags, allflags);
180 fprintf(stderr, "command=%s, flags=%s, allflags=%s\n",
181 command, flags, allflags);
183 if (!*command) break;
185 fprintf(stderr, "\nError in %s (see generated/flags.raw)\n", command);
190 printf("// %s %s %s\n", command, flags, allflags);
193 // If command disabled, use allflags for OLDTOY()
194 printf("#undef OPTSTR_%s\n#define OPTSTR_%s ", command, command);
203 command, command, command);
208 if (!offlist->command) s = offlist->lopt->command;
210 *s = *offlist->command;
219 command, command);
227 if (!aflist->command) {
228 s = aflist->lopt->command;
230 !strcmp(flist->lopt->command, aflist->lopt->command)) enabled++;
233 *s = *aflist->command;
235 if (flist && flist->command && *aflist->command == *flist->command)