Browse Source

api-parse-options.txt: use 'func' instead of 'funct'

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Stephen Boyd 16 years ago committed by Junio C Hamano
parent
commit
ca156cfcc2
  1. 2
      Documentation/technical/api-parse-options.txt

2
Documentation/technical/api-parse-options.txt

@ -198,7 +198,7 @@ The function must be defined in this form: @@ -198,7 +198,7 @@ The function must be defined in this form:

The callback mechanism is as follows:

* Inside `funct`, the only interesting member of the structure
* Inside `func`, the only interesting member of the structure
given by `opt` is the void pointer `opt->value`.
`\*opt->value` will be the value that is saved into `var`, if you
use `OPT_CALLBACK()`.

Loading…
Cancel
Save