From ae6d1fd3fac9972700f3d68b68a19f558b459a05 Mon Sep 17 00:00:00 2001 From: George Lu Date: Fri, 1 Jun 2018 13:54:08 -0700 Subject: [PATCH] Add Error Print --- tests/paramgrill.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/paramgrill.c b/tests/paramgrill.c index 68c573f8..58be12c5 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]=='-') {