diff options
author | Brandon Casey <drafnel@gmail.com> | 2011-11-06 19:44:29 -0600 |
---|---|---|
committer | Brandon Casey <drafnel@gmail.com> | 2011-11-06 19:44:29 -0600 |
commit | 349532d0b1fd4eb94b398616602674ff516f6d76 (patch) | |
tree | 49263122889ee9a0d20ad500605922bbe216aa34 /include/git2/threads.h | |
parent | 983562e47537eef4c9d7706d036245a1896dd5f2 (diff) | |
download | libgit2-349532d0b1fd4eb94b398616602674ff516f6d76.tar.gz |
examples/network/git2.c: exit with proper status, and avoid segfault
This function should exit after printing usage information if too few
arguments were specified.
Additionally, it should exit with a failure status if the first argument
supplied is not one in the internal command list.
Diffstat (limited to 'include/git2/threads.h')
0 files changed, 0 insertions, 0 deletions