Skip to content

Commit

Permalink
fix wfs-fuse command line
Browse files Browse the repository at this point in the history
  • Loading branch information
koolkdev committed Mar 24, 2024
1 parent 2e8b8f2 commit 919f8c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions wfs-fuse/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,7 @@ int main(int argc, char* argv[]) {
if (param.is_help) {
return 0;
}
if (!param.type) {
printf("Missing type (--otp)\n");
return 1;
}

is_usb = !param.type || !strcmp(param.type, "usb");
is_mlc = param.type && !strcmp(param.type, "mlc");
is_plain = param.type && !strcmp(param.type, "plain");
Expand Down

0 comments on commit 919f8c8

Please sign in to comment.