1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

Add Error Print

This commit is contained in:
George Lu
2018-06-01 13:54:08 -07:00
parent c9b4d20f02
commit ae6d1fd3fa

View File

@ -1000,7 +1000,10 @@ int main(int argc, const char** argv)
return 1;
}
if (argument[0] != 0) return 1; /* check the end of string */
if (argument[0] != 0) {
DISPLAY("invvalid --zstd= format\n");
return 1; /* check the end of string */
}
break;
//if not return, success
} else if (argument[0]=='-') {