From: George Lu Date: Fri, 1 Jun 2018 20:54:08 +0000 (-0700) Subject: Add Error Print X-Git-Tag: v1.3.5~3^2~33^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae6d1fd3fac9972700f3d68b68a19f558b459a05;p=thirdparty%2Fzstd.git Add Error Print --- diff --git a/tests/paramgrill.c b/tests/paramgrill.c index 68c573f83..58be12c53 100644 --- a/tests/paramgrill.c +++ b/tests/paramgrill.c @@ -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]=='-') {