Promote "test-read" to an official command as "read"
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled

This commit is contained in:
Andrea Mazzoleni 2026-02-20 00:03:07 +01:00
parent 33f8ddc789
commit a63a985bf7
2 changed files with 3 additions and 3 deletions

View file

@ -1497,7 +1497,7 @@ int snapraid_main(int argc, char* argv[])
operation = OPERATION_STATUS;
} else if (strcmp(argv[optind], "test-rewrite") == 0) {
operation = OPERATION_REWRITE;
} else if (strcmp(argv[optind], "test-read") == 0) {
} else if (strcmp(argv[optind], "read") == 0) {
operation = OPERATION_READ;
} else if (strcmp(argv[optind], "touch") == 0) {
operation = OPERATION_TOUCH;