Re: [PATCH 1/2] Show html help with git-help --html
- From
Frank Lichtenheld <frank@lichtenheld.de>
- Date
- Jun 5, 2007, 19:34 UTC
- Message-ID
- <20070605193451.GG17377@planck.djpig.de>
- In-Reply-To
- <20070605183420.GA8450@localhost>
On Tue, Jun 05, 2007 at 06:34:20PM +0000, Nguyen Thai Ngoc Duy wrote:
Show 6 quoted lines
> +core.help:: > + If 'html', it is equivalent to 'git-help' with option --html. > + If 'auto', it tries to open html files first. If that attempt fails > + (the html program does not exist or the program return non-zero > + value), then it will fall back to man pages. If 'man', always use > + man pages as usual.
This should mention the default value. (Which is 'man', if I read the code correctly, isn't it?)
Show 8 quoted lines
> +core.htmlprogram:: > + Specify the program used to open html help files when 'git-help' > + is called with option --html or core.help is other than 'man'. > + By default, xdg-open will be used. > + Special strings '%p', '%f' and '%b' will be replaced with html > + full path, file name and git command (without .html suffix) > + respectively. If none is given, '%p' will be automatically appended > + to the command line.
htmlprogram sounds kludgy to me. I would've used htmlcommand or perhaps htmlviewer. But I'm no native English speaker, so I might be entirely wrong about that.
Gruesse,
-- Frank Lichtenheld <frank@lichtenheld.de> www: http://www.djpig.de/