author | Jeff King <peff@peff.net> | |
Sun, 24 Feb 2008 22:16:55 +0000 (17:16 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 25 Feb 2008 02:31:49 +0000 (18:31 -0800) | ||
commit | 41eb33bd0cbecf1b441ada91ab186ee49fb086cc | |
tree | 18257c59d3ac2348f7c83c6c287135b544d6c3e9 | tree | snapshot |
parent | 923d44aeb7cb6d21eeb459fdc1b58137e37c2b1c | commit | diff |
help: use parseopt
This patch converts cmd_help to use parseopt, along with a
few style cleanups, including:
- enum constants are now ALL_CAPS
- parse_help_format returns an enum value rather than
setting a global as a side effect
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This patch converts cmd_help to use parseopt, along with a
few style cleanups, including:
- enum constants are now ALL_CAPS
- parse_help_format returns an enum value rather than
setting a global as a side effect
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c | diff | blob | history |