Lines Matching refs:argv0
629 static void help(FILE *f, const char *argv0) { in help() argument
630 if (strstr(argv0, "domain")) in help()
631 fprintf(f, "%s [options] \n\n", argv0); in help()
642 argv0, in help()
644 argv0, argv0, argv0); in help()
668 static int parse_command_line(Config *c, const char *argv0, int argc, char *argv[]) { in parse_command_line() argument
693 c->command = strstr(argv0, "domain") ? COMMAND_BROWSE_DOMAINS : COMMAND_BROWSE_SERVICES; in parse_command_line()
785 const char *argv0; in main() local
791 if ((argv0 = strrchr(argv[0], '/'))) in main()
792 argv0++; in main()
794 argv0 = argv[0]; in main()
802 if (parse_command_line(&config, argv0, argc, argv) < 0) in main()
807 help(stdout, argv0); in main()
812 printf("%s "PACKAGE_VERSION"\n", argv0); in main()