examples/network/git2.c: exit with proper status, and avoid segfault
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.

linquize/libgit2,skabel/manguse,sim0629/libgit2,yosefhackmon/libgit2,claudelee/libgit2,MrHacky/libgit2,linquize/libgit2,whoisj/libgit2,whoisj/libgit2,kissthink/libgit2,mhp/libgit2,KTXSoftware/libgit2,chiayolin/libgit2,yosefhackmon/libgit2,kissthink/libgit2,oaastest/libgit2,oaastest/libgit2,jamieleecool/ptest,sim0629/libgit2,dleehr/libgit2,skabel/manguse,KTXSoftware/libgit2,jflesch/libgit2-mariadb,mrksrm/Mingijura,Snazz2001/libgit2,leoyanggit/libgit2,mingyaaaa/libgit2,mhp/libgit2,saurabhsuniljain/libgit2,sim0629/libgit2,since2014/libgit2,Aorjoa/libgit2_maked_lib,t0xicCode/libgit2,ardumont/libgit2,joshtriplett/libgit2,t0xicCode/libgit2,JIghtuse/libgit2,sygool/libgit2,swisspol/DEMO-libgit2,maxiaoqian/libgit2,KTXSoftware/libgit2,Tousiph/Demo1,nacho/libgit2,ardumont/libgit2,Corillian/libgit2,Aorjoa/libgit2_maked_lib,iankronquist/libgit2,mcanthony/libgit2,nokiddin/libgit2,t0xicCode/libgit2,evhan/libgit2,amyvmiwei/libgit2,jeffhostetler/public_libgit2,stewid/libgit2,ardumont/libgit2,jamieleecool/ptest,sygool/libgit2,skabel/manguse,since2014/libgit2,chiayolin/libgit2,jflesch/libgit2-mariadb,KTXSoftware/libgit2,leoyanggit/libgit2,stewid/libgit2,rcorre/libgit2,Corillian/libgit2,Snazz2001/libgit2,jeffhostetler/public_libgit2,mcanthony/libgit2,falqas/libgit2,leoyanggit/libgit2,sim0629/libgit2,kissthink/libgit2,t0xicCode/libgit2,ardumont/libgit2,stewid/libgit2,mhp/libgit2,iankronquist/libgit2,sygool/libgit2,leoyanggit/libgit2,yongthecoder/libgit2,oaastest/libgit2,falqas/libgit2,magnus98/TEST,rcorre/libgit2,zodiac/libgit2.js,yosefhackmon/libgit2,mingyaaaa/libgit2,spraints/libgit2,since2014/libgit2,swisspol/DEMO-libgit2,mingyaaaa/libgit2,ardumont/libgit2,jflesch/libgit2-mariadb,whoisj/libgit2,oaastest/libgit2,yosefhackmon/libgit2,yosefhackmon/libgit2,dleehr/libgit2,Tousiph/Demo1,maxiaoqian/libgit2,magnus98/TEST,mrksrm/Mingijura,kissthink/libgit2,mingyaaaa/libgit2,mrksrm/Mingijura,joshtriplett/libgit2,chiayolin/libgit2,nacho/libgit2,MrHacky/libgit2,Corillian/libgit2,t0xicCode/libgit2,zodiac/libgit2.js,jflesch/libgit2-mariadb,amyvmiwei/libgit2,magnus98/TEST,nokiddin/libgit2,chiayolin/libgit2,evhan/libgit2,raybrad/libit2,swisspol/DEMO-libgit2,joshtriplett/libgit2,zodiac/libgit2.js,Tousiph/Demo1,dleehr/libgit2,kenprice/libgit2,amyvmiwei/libgit2,claudelee/libgit2,linquize/libgit2,Snazz2001/libgit2,kenprice/libgit2,jeffhostetler/public_libgit2,JIghtuse/libgit2,spraints/libgit2,jeffhostetler/public_libgit2,spraints/libgit2,sygool/libgit2,maxiaoqian/libgit2,mingyaaaa/libgit2,swisspol/DEMO-libgit2,Aorjoa/libgit2_maked_lib,Corillian/libgit2,jeffhostetler/public_libgit2,raybrad/libit2,yongthecoder/libgit2,Tousiph/Demo1,raybrad/libit2,jeffhostetler/public_libgit2,jamieleecool/ptest,zodiac/libgit2.js,JIghtuse/libgit2,kenprice/libgit2,KTXSoftware/libgit2,since2014/libgit2,claudelee/libgit2,mrksrm/Mingijura,magnus98/TEST,zodiac/libgit2.js,falqas/libgit2,rcorre/libgit2,stewid/libgit2,mhp/libgit2,maxiaoqian/libgit2,MrHacky/libgit2,dleehr/libgit2,mrksrm/Mingijura,nokiddin/libgit2,Aorjoa/libgit2_maked_lib,raybrad/libit2,KTXSoftware/libgit2,chiayolin/libgit2,sim0629/libgit2,swisspol/DEMO-libgit2,iankronquist/libgit2,Tousiph/Demo1,JIghtuse/libgit2,linquize/libgit2,MrHacky/libgit2,skabel/manguse,iankronquist/libgit2,kissthink/libgit2,Corillian/libgit2,kenprice/libgit2,oaastest/libgit2,amyvmiwei/libgit2,joshtriplett/libgit2,joshtriplett/libgit2,evhan/libgit2,Tousiph/Demo1,iankronquist/libgit2,since2014/libgit2,since2014/libgit2,saurabhsuniljain/libgit2,rcorre/libgit2,iankronquist/libgit2,joshtriplett/libgit2,Snazz2001/libgit2,spraints/libgit2,whoisj/libgit2,mingyaaaa/libgit2,mhp/libgit2,leoyanggit/libgit2,saurabhsuniljain/libgit2,raybrad/libit2,dleehr/libgit2,skabel/manguse,stewid/libgit2,claudelee/libgit2,falqas/libgit2,mrksrm/Mingijura,stewid/libgit2,Aorjoa/libgit2_maked_lib,spraints/libgit2,sim0629/libgit2,jamieleecool/ptest,maxiaoqian/libgit2,claudelee/libgit2,magnus98/TEST,yongthecoder/libgit2,rcorre/libgit2,mcanthony/libgit2,leoyanggit/libgit2,kissthink/libgit2,nokiddin/libgit2,t0xicCode/libgit2,nacho/libgit2,yosefhackmon/libgit2,maxiaoqian/libgit2,amyvmiwei/libgit2,sygool/libgit2,Snazz2001/libgit2,saurabhsuniljain/libgit2,nokiddin/libgit2,magnus98/TEST,yongthecoder/libgit2,sygool/libgit2,MrHacky/libgit2,ardumont/libgit2,skabel/manguse,mcanthony/libgit2,JIghtuse/libgit2,spraints/libgit2,amyvmiwei/libgit2,yongthecoder/libgit2,jflesch/libgit2-mariadb,saurabhsuniljain/libgit2,evhan/libgit2,dleehr/libgit2,nokiddin/libgit2,oaastest/libgit2,whoisj/libgit2,Corillian/libgit2,linquize/libgit2,linquize/libgit2,rcorre/libgit2,saurabhsuniljain/libgit2,falqas/libgit2,chiayolin/libgit2,claudelee/libgit2,mcanthony/libgit2,kenprice/libgit2,Snazz2001/libgit2,mhp/libgit2,jflesch/libgit2-mariadb,swisspol/DEMO-libgit2,whoisj/libgit2,falqas/libgit2,yongthecoder/libgit2,mcanthony/libgit2,kenprice/libgit2,nacho/libgit2,JIghtuse/libgit2,MrHacky/libgit2