builtin/help.c: add --guide option
commit65f98358c0ca5917604d3eb59b80ce14f72c2c7c
authorPhilip Oakley <philipoakley@iee.org>
Tue, 2 Apr 2013 22:39:50 +0000 (2 23:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Apr 2013 01:01:31 +0000 (2 18:01 -0700)
tree128b5c9a7049515a4a984012ed08989d55f3ee3d
parent15f7d4943807a50e01d2fd85bcdbd44361808dd2
builtin/help.c: add --guide option

Logic, but no actions, included.

The --all commands option, if given, will display the list of
available commands.

The --guide option's list of guides will then be displayed.

The common commands list is only displayed if neither option, nor a
command or guide name, is given.

Signed-off-by: Philip Oakley <philipoakley@iee.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/help.c