git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frank Lichtenheld <frank@lichtenheld.de>
To: Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Cc: git@vger.kernel.org, junkio@cox.net
Subject: Re: [PATCH 1/2] Show html help with git-help --html
Date: Tue, 5 Jun 2007 21:34:51 +0200	[thread overview]
Message-ID: <20070605193451.GG17377@planck.djpig.de> (raw)
In-Reply-To: <20070605183420.GA8450@localhost>

On Tue, Jun 05, 2007 at 06:34:20PM +0000, Nguyen Thai Ngoc Duy wrote:
> +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?)

> +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/

  reply	other threads:[~2007-06-05 19:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-05 18:34 [PATCH 1/2] Show html help with git-help --html Nguyen Thai Ngoc Duy
2007-06-05 19:34 ` Frank Lichtenheld [this message]
2007-06-05 19:42   ` Nguyen Thai Ngoc Duy
2007-06-05 20:40 ` Junio C Hamano
2007-06-06 11:07   ` Nguyen Thai Ngoc Duy
2007-06-09 15:03 ` Nguyen Thai Ngoc Duy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070605193451.GG17377@planck.djpig.de \
    --to=frank@lichtenheld.de \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=pclouds@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).