help: fix configured help format taking over command line one
authorChristian Couder <chriscool@tuxfamily.org>
Sat, 9 Jan 2010 05:10:05 +0000 (06:10 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Jan 2010 07:42:48 +0000 (23:42 -0800)
commit3caa82396ca8a78da05f7759570444e9a666b2e8
treecafbaa8fbf137ba6372a02c0ae7ac8b79be55ac0
parent0afcb5f7915337c76c6743dab70c49facdeddd7e
help: fix configured help format taking over command line one

Since commit 7c3baa9 (help -a: do not unnecessarily look for a
repository, 2009-09-04), the help format that is passed as a
command line option is not used if an help format has been
configured. This patch fixes that.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-help.c