commit | d3fd537ea59272e2141ccee839400a93c0196e36 | [log] [tgz] |
---|---|---|
author | Trond Norbye <trond.norbye@gmail.com> | Mon Jan 03 11:35:15 2011 +0100 |
committer | Shawn O. Pearce <sop@google.com> | Sun Jan 09 16:10:04 2011 -0800 |
tree | ce2bcfcaf355fe4f955ca513241890be3393c9c1 | |
parent | 0048b69c038306fe74408a63cdd0773b0d86a8fe [diff] |
Exit with statuscode 0 for repo help init The complete help text is printed, so the program executed successfully. Some tools (like OpenGrok) detects the availibility of a program by running it with a known set of options and check the return code. It is an easy and portable way of checking for the existence of a program instead of searching the path (and handle extensions) ourselves. Change-Id: Ic13428c77be4a36d599ccb8c86d893308818eae3