diff options
author | Trond Norbye <trond.norbye@gmail.com> | 2011-01-03 11:35:15 +0100 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2011-01-09 16:10:04 -0800 |
commit | d3fd537ea59272e2141ccee839400a93c0196e36 (patch) | |
tree | ce2bcfcaf355fe4f955ca513241890be3393c9c1 /subcmds/download.py | |
parent | 0048b69c038306fe74408a63cdd0773b0d86a8fe (diff) | |
download | git-repo-d3fd537ea59272e2141ccee839400a93c0196e36.tar.gz |
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
Diffstat (limited to 'subcmds/download.py')
0 files changed, 0 insertions, 0 deletions