Lines Matching refs:argv
58 int main(int argc, char **argv) in main() argument
67 argv++; in main()
69 if (!strcmp(argv[0],"alt")) { in main()
77 } else if (!strcmp(argv[0],"lookup")) { in main()
83 ptr = svcmgr_lookup(bs, svcmgr, argv[1]); in main()
84 fprintf(stderr,"lookup(%s) = %p\n", argv[1], ptr); in main()
86 argv++; in main()
87 } else if (!strcmp(argv[0],"publish")) { in main()
92 svcmgr_publish(bs, svcmgr, argv[1], &token); in main()
94 argv++; in main()
96 fprintf(stderr,"unknown command %s\n", argv[0]); in main()
100 argv++; in main()