- Timestamp:
- Apr 6, 2007 10:35:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/proxy.h
r1131 r1161 54 54 puts("Options:\n" 55 55 "\n" 56 " - -port N Set local listener port to N\n"57 " - -rr Perform record routing\n"58 " - -log-level N Set log level to N (default: 4)\n"59 " - -help Show this help screen\n"56 " -p, --port N Set local listener port to N\n" 57 " -R, --rr Perform record routing\n" 58 " -L, --log-level N Set log level to N (default: 4)\n" 59 " -h, --help Show this help screen\n" 60 60 ); 61 61 } … … 69 69 { "log-level", 1, 0, 'L'}, 70 70 { "help", 0, 0, 'h'}, 71 { NULL, 0, 0, 0} 71 72 }; 72 73 int c; … … 74 75 75 76 pj_optind = 0; 76 while((c=pj_getopt_long(argc, argv, " ", long_opt, &opt_ind))!=-1) {77 while((c=pj_getopt_long(argc, argv, "p:L:Rh", long_opt, &opt_ind))!=-1) { 77 78 switch (c) { 78 79 case 'p':
Note: See TracChangeset
for help on using the changeset viewer.