refactor(sync): add syncRestoreFromSnapshot

This commit is contained in:
Minghao Li 2022-07-08 15:38:40 +08:00
parent ed6001d5ca
commit cc31a7c3c3
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ SSyncNode* createSyncNode(SWal* pWal) {
void usage(char* exe) { printf("usage: %s path vgId snapshotIndex \n", exe); }
int main(int argc, char** argv) {
if (argc != 3) {
if (argc != 4) {
usage(argv[0]);
exit(-1);
}