Fix parsing of -t argument not working

This commit is contained in:
Konstantin Pereiaslov
2023-05-14 22:29:42 -05:00
parent c6aee6c444
commit d567c7bc8f

2
main.c
View File

@@ -48,7 +48,7 @@ int main(int argc, char *argv[]) {
// Parse command line options
int option;
while ((option = getopt_long(argc, argv, "htvq", long_options, NULL)) != -1) {
while ((option = getopt_long(argc, argv, "hvqt:", long_options, NULL)) != -1) {
switch (option) {
case 't':
user_idle_timeout_ms = atoi(optarg);