goto exit;
}
- while (1) {
+ for (;;) {
int option;
const char *key;
const char *val;
char buf[UTIL_PATH_SIZE];
- option = getopt_long(argc, argv, "vng:o:t:hcp:s:S:a:A:y:", options, NULL);
+ option = getopt_long(argc, argv, "vng:o:t:hc:p:s:S:a:A:y:", options, NULL);
if (option == -1)
break;
" --help\n\n");
goto exit;
default:
+ rc = 1;
goto exit;
}
}