summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 90f2e65)
raw | patch | inline | side by side (parent: 90f2e65)
author | Stephen Boyd <bebarino@gmail.com> | |
Sat, 16 May 2009 09:24:44 +0000 (02:24 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 16 May 2009 18:47:10 +0000 (11:47 -0700) |
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-parse-options.txt | patch | blob | history |
diff --git a/Documentation/technical/api-parse-options.txt b/Documentation/technical/api-parse-options.txt
index e66ca9f70c705841c864196a3a651e04d8156e01..e30c602f476da2da632d2cd04396d168c80ab233 100644 (file)
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()`.