commit | 35159abbebf5453d4c9e89e570b891fb3d6c93cc | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Thu Jun 13 00:07:13 2019 -0400 |
committer | Mike Frysinger <vapier@google.com> | Thu Jun 13 13:34:54 2019 +0000 |
tree | e37743ffcb92762ee8f2d92c8f6b3c92bf1c60f5 | |
parent | 24ee29e46810eb18bb01e4adc23f5055c85bbff3 [diff] |
repo: standardize help behavior Standard utilities exit normally/zero when users explicitly request --help, and they write to stdout. Exiting non-zero & using stderr is meant for incorrect tool usage instead. We're already doing this for `repo help <init|gitc-init>` calls, so lets fix `repo help` and `repo --help|-h` to match. Change-Id: Ia4f352b431c91eefef70dcafc11f00209ee69809
Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.