help -i: properly error out if no info viewer can be found
commita29aa47da79cfd0ef7ee0ef423e7e5a9a3cf07bd
authorGerrit Pape <pape@smarden.org>
Tue, 27 Oct 2009 13:31:33 +0000 (27 13:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Oct 2009 06:05:24 +0000 (27 23:05 -0700)
tree6ee08cfd744469307fec9f418d324f53ca790e44
parentcaa7dac163f7f7fc827da6fd4a5aba259a50e1ab
help -i: properly error out if no info viewer can be found

With this commit, git help -i <cmd> prints an error message and exits
non-zero instead of being silent and exit code 0.

Reported by Trent W. Buck through
 http://bugs.debian.org/537664

Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-help.c