| 976 | } |
| 977 | |
| 978 | static void usage(int argc, char * argv[]) |
| 979 | { |
| 980 | int i; |
| 981 | const char *service_name; |
| 982 | |
| 983 | if (argc <= 0) { |
| 984 | acl_msg_fatal("%s(%d): argc(%d) invalid", |
| 985 | __FILE__, __LINE__, argc); |
| 986 | } |
| 987 | |
| 988 | service_name = acl_safe_basename(argv[0]); |
| 989 | |
| 990 | for (i = 0; i < argc; i++) { |
| 991 | acl_msg_info("argv[%d]: %s", i, argv[i]); |
| 992 | } |
| 993 | |
| 994 | acl_msg_info("usage: %s -H[help]" |
| 995 | " -c [use chroot]" |
| 996 | " -n service_name" |
| 997 | " -s socket_count" |
| 998 | " -t transport" |
| 999 | " -u [use setgid initgroups setuid]" |
| 1000 | " -f conf_file" |
| 1001 | " -L listen_addrs", |
| 1002 | service_name); |
| 1003 | } |
| 1004 | |
| 1005 | static int __first_name; |
| 1006 | static va_list __ap_dest; |
no test coverage detected
searching dependent graphs…