summaryrefslogtreecommitdiff
path: root/builtin/help.c
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-10-31 13:15:08 -0400
committerJunio C Hamano <gitster@pobox.com>2021-11-01 10:34:32 -0700
commit3c6eb4ec50d9a4a9017fb8c1f220d12dceb206b1 (patch)
tree629b7143891befaa5e4fe4863e2d3f3c2a9ae150 /builtin/help.c
parent9d530dc0024503ab4218fe6c4395b8a0aa245478 (diff)
pretty.c: rework describe options parsing for better extensibility
It contains option arguments only, not options. We would like to add option support here too, but to do that we need to distinguish between different types of options. Lay out the groundwork for distinguishing between bools, strings, etc. and move the central logic (validating values and pushing new arguments to *args) into the successful match, because that will be fairly conditional on what type of argument is being parsed. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/help.c')
0 files changed, 0 insertions, 0 deletions