summaryrefslogtreecommitdiffstats
path: root/command.py
diff options
context:
space:
mode:
authorTrond Norbye <trond.norbye@gmail.com>2011-01-03 11:35:15 +0100
committerShawn O. Pearce <sop@google.com>2011-01-09 16:10:04 -0800
commitd3fd537ea59272e2141ccee839400a93c0196e36 (patch)
treece2bcfcaf355fe4f955ca513241890be3393c9c1 /command.py
parent0048b69c038306fe74408a63cdd0773b0d86a8fe (diff)
downloadgit-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 'command.py')
0 files changed, 0 insertions, 0 deletions