[fix bug]
This commit is contained in:
parent
fb55414c64
commit
2bba1ed59d
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue