Re: [PATCH 3/3] git --help COMMAND brings up the git-COMMAND man-page.
- From
Andreas Ericsson <ae@op5.se>
- Date
- Nov 16, 2005, 00:24 UTC
- Message-ID
- <437A7C26.5020400@op5.se>
- In-Reply-To
- <7vsltxeakh.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 10 quoted lines
>>+ >>+ execlp(PATH_TO_MAN, "man", page, NULL); >>+} > > > If you do PATH_TO_MAN absolute, execl would suffice, but just > saying "man" and have execlp look for it would be easier to > manage. > >
Never even occurred to me, actually. I just re-submitted the patch.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231