[fix bug]

This commit is contained in:
Hui Li 2020-07-08 14:12:14 +08:00
parent fb55414c64
commit 2bba1ed59d
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ struct arguments {
static error_t parse_opt(int key, char *arg, struct argp_state *state) {
struct arguments *arguments = state->input;
switch (key) {
case 'w':
case 'r':
arguments->dataDir = arg;
break;
case 'd':