Lines Matching refs:argv
22 * and so on. If the option isn't seen in argv[], its bit remains 0.
33 * argv = ["command", "-b", "fruit", "-d", "walrus"] results in:
132 // Use getoptflagstate to parse one command line option from argv
186 arg = toys.argv[++gof->argc];
377 // Fill out toys.optflags, toys.optargs, and this[] from toys.argv
387 // a struct opts list, then use that list to process argv[];
393 while (toys.argv[saveflags++]);
398 if (toys.argv[1] && toys.argv[1][0] == '-') gof.nodash_now = 0;
400 // Iterate through command line arguments, skipping argv[0]
401 for (gof.argc=1; toys.argv[gof.argc]; gof.argc++) {
402 gof.arg = toys.argv[gof.argc];
469 gof.arg = toys.argv[gof.argc];
478 toys.optargs[toys.optc++] = toys.argv[gof.argc];