All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nguyen Thai Ngoc Duy" <pclouds@gmail.com>
To: "Frank Lichtenheld" <frank@lichtenheld.de>
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 15:42:13 -0400	[thread overview]
Message-ID: <fcaeb9bf0706051242o7ded089dwabd281226befe63d@mail.gmail.com> (raw)
In-Reply-To: <20070605193451.GG17377@planck.djpig.de>

On 6/5/07, Frank Lichtenheld <frank@lichtenheld.de> wrote:
> 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?)

Ok.

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

Will vote for any better name than htmlprogram as I see it awkward too :)
htmlviewer seems better (or htmlviewercommand, which is too long).
Anyway I'm not a native English speaker either.

>
> Gruesse,
> --
> Frank Lichtenheld <frank@lichtenheld.de>
> www: http://www.djpig.de/
>


-- 
Duy

  reply	other threads:[~2007-06-05 19:42 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
2007-06-05 19:42   ` Nguyen Thai Ngoc Duy [this message]
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=fcaeb9bf0706051242o7ded089dwabd281226befe63d@mail.gmail.com \
    --to=pclouds@gmail.com \
    --cc=frank@lichtenheld.de \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.