Re: [PATCH 1/2] Show html help with git-help --html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/5/07, Frank Lichtenheld <frank@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>
www: http://www.djpig.de/



--
Duy
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux