| 749 | } |
| 750 | |
| 751 | static void usage(int argc, char * argv[]) |
| 752 | { |
| 753 | int i; |
| 754 | const char *service_name; |
| 755 | |
| 756 | if (argc <= 0) |
| 757 | acl_msg_fatal("%s(%d): argc(%d) invalid", |
| 758 | __FILE__, __LINE__, argc); |
| 759 | |
| 760 | service_name = acl_safe_basename(argv[0]); |
| 761 | |
| 762 | for (i = 0; i < argc; i++) |
| 763 | acl_msg_info("argv[%d]: %s", i, argv[i]); |
| 764 | |
| 765 | acl_msg_info("usage: %s -H[help]" |
| 766 | " -c [use chroot]" |
| 767 | " -n service_name" |
| 768 | " -s socket_count" |
| 769 | " -t transport" |
| 770 | " -u [use setgid initgroups setuid]" |
| 771 | " -f conf_file" |
| 772 | " -L listen_addrs", |
| 773 | service_name); |
| 774 | } |
| 775 | |
| 776 | static int __first_name; |
| 777 | static va_list __ap_dest; |
no test coverage detected
searching dependent graphs…