diff --git a/options.h b/options.h index 17ad853..93832e6 100644 --- a/options.h +++ b/options.h @@ -61,6 +61,9 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) case 'i': config->id = strtoul(arg, NULL, 0); break; + case 't': + config->timeout = strtoul(arg, NULL, 0); + break; default: return ARGP_ERR_UNKNOWN; }