Lines Matching refs:longopt
341 const char *longopt = ""; in main() local
347 longopt = arg + 1; in main()
350 if (!*longopt) in main()
353 for (; *arg || *longopt; longopt = "") { in main()
357 if (opt == 'h' || opt == '?' || !strcmp(longopt, "help")) { in main()
361 if (opt == 'e' || !strcmp(longopt, "eval")) { in main()
373 if (opt == 'I' || !strcmp(longopt, "include")) { in main()
385 if (opt == 'i' || !strcmp(longopt, "interactive")) { in main()
389 if (opt == 'm' || !strcmp(longopt, "module")) { in main()
393 if (!strcmp(longopt, "script")) { in main()
397 if (opt == 'd' || !strcmp(longopt, "dump")) { in main()
401 if (opt == 'T' || !strcmp(longopt, "trace")) { in main()
405 if (!strcmp(longopt, "std")) { in main()
409 if (!strcmp(longopt, "unhandled-rejection")) { in main()
414 if (!strcmp(longopt, "bignum")) { in main()
418 if (!strcmp(longopt, "qjscalc")) { in main()
423 if (opt == 'q' || !strcmp(longopt, "quit")) { in main()
427 if (!strcmp(longopt, "memory-limit")) { in main()
435 if (!strcmp(longopt, "stack-size")) { in main()
446 fprintf(stderr, "qjs: unknown option '--%s'\n", longopt); in main()