[PATCH 0/2] help: make option --help open man pages only for Git commands
- From
Ralf Thielow <ralf.thielow@gmail.com>
- Date
- Aug 18, 2016, 18:57 UTC
- Message-ID
- <20160818185719.4909-1-ralf.thielow@gmail.com>
- In-Reply-To
- <20160816162030.27754-1-ralf.thielow@gmail.com>
In this version, one patch has been turned into two. The first introduces the option "command-only" to make 'help' only working for commands and additionally give some nice help on typos. The second makes option --help only work for actual Git commands.
Ralf Thielow (2): help: introduce option --command-only help: make option --help open man pages only for Git commands
Documentation/git-help.txt | 11 ++++++++--- builtin/help.c | 30 +++++++++++++++++++++++------- contrib/completion/git-completion.bash | 2 +- git.c | 15 ++++++++++++++- t/t0012-help.sh | 29 +++++++++++++++++++++++++++++ 5 files changed, 75 insertions(+), 12 deletions(-) create mode 100755 t/t0012-help.sh
-- 2.9.2.912.gd0c0e83