Lines Matching refs:optarg
254 if (to_int(optarg, &refresh_interval) != 0 ||
257 "Invalid refresh interval: %s\n", optarg);
266 if (to_int(optarg, &klog_level) != 0 ||
269 "Invalid log level: %s\n", optarg);
280 } else if (strlen(optarg) >= sizeof (logfile)) {
283 optarg);
286 (void) strncpy(logfile, optarg,
292 for (token = strtok(optarg, ","); token != NULL;
343 if (to_int(optarg, &log_interval) != 0 ||
346 "Invalid log interval: %s\n", optarg);
355 if (strlen(optarg) >= PATH_MAX) {
364 lt_strdup(optarg);
369 if (strncmp(optarg, "pid=", 4) == 0) {
371 select_str = &optarg[4];
372 } else if (strncmp(optarg, "pgid=", 5) == 0) {
374 select_str = &optarg[5];
377 "Invalid select option: %s\n", optarg);
384 "Invalid select option: %s\n", optarg);
392 "greater than 0: %s\n", optarg);