help: implement multi-valued "man.viewer" config option
authorChristian Couder <chriscool@tuxfamily.org>
Tue, 11 Mar 2008 07:51:12 +0000 (08:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Mar 2008 06:02:01 +0000 (23:02 -0700)
commit69099d6bedb0217d7c35f7202acd6185551d762f
tree40438d02669845d87eff74462931e38837d929f1
parentb5578f333595e40cb843461e685c887ad2d01e5c
help: implement multi-valued "man.viewer" config option

This allows multiple viewer candidates to be listed in the configuration
file, like this:

        [man]
                viewer = woman
                viewer = konqueror
                viewer = man

The candidates are tried in the order listed in the configuration file,
and the first suitable one (e.g. konqueror cannot be used outside windowed
environment) is used.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Tested-by: Xavier Maillard <xma@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c