diff --git a/mtd-util.cpp b/mtd-util.cpp index 7f2f98d..319f5a8 100644 --- a/mtd-util.cpp +++ b/mtd-util.cpp @@ -340,7 +340,7 @@ int main(int argc, char* argv[]) optind++; } #ifdef DEVELOPER_OPTIONS - if (argv[optind][0] == 'e') + else if (argv[optind][0] == 'e') { int offset = 0; action = ACTION_ERASE;