diff options
author | Zhijiang Hu <hu.zhijiang@zte.com.cn> | 2017-04-17 06:08:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-04-17 06:08:38 +0000 |
commit | e258505a1c2d3f7baacee5177ca3a4f053df1023 (patch) | |
tree | 5e5a2651a1d1ee9175e9bad3faf2ebf7f6235987 | |
parent | 0d7114ad9efedeba16c7e0a448606c9d955aa338 (diff) | |
parent | b3bec032e082376ba2dbe10da83df82215a41659 (diff) |
Merge "Treat bad command line usage as error"
-rwxr-xr-x | code/jasmine/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/jasmine/client.c b/code/jasmine/client.c index 42d996af..20bd3585 100755 --- a/code/jasmine/client.c +++ b/code/jasmine/client.c @@ -255,7 +255,7 @@ int main(int argc, char *argv[]) if (argc < 3) { printf("Usage: %s <local_ip> <server_ip> [port]\n", argv[0]); - return 0; + return -1; } if (!inet_aton(argv[1], &local_addr)) { |