All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] parse-options: fix the description of defval
@ 2015-03-29  8:32 Ivan Ukhov
  2015-03-29  9:08 ` Paul Tan
  0 siblings, 1 reply; 8+ messages in thread
From: Ivan Ukhov @ 2015-03-29  8:32 UTC (permalink / raw)
  To: git

Since the deletion of OPT_SET_PTR, defval can no longer contain a pointer.

Signed-off-by: Ivan Ukhov <ivan.ukhov@gmail.com>
---
 parse-options.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/parse-options.h b/parse-options.h
index 7940bc7..c71e9da 100644
--- a/parse-options.h
+++ b/parse-options.h
@@ -95,8 +95,7 @@ typedef int parse_opt_ll_cb(struct parse_opt_ctx_t *ctx,
  *
  * `defval`::
  *   default value to fill (*->value) with for PARSE_OPT_OPTARG.
- *   OPTION_{BIT,SET_INT} store the {mask,integer,pointer} to put in
- *   the value when met.
+ *   OPTION_{BIT,SET_INT} store the {mask,integer} to put in the value when met.
  *   CALLBACKS can use it like they want.
  */
 struct option {
--
1.8.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-03-29 18:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-29  8:32 [PATCH] parse-options: fix the description of defval Ivan Ukhov
2015-03-29  9:08 ` Paul Tan
2015-03-29  9:28   ` Ivan Ukhov
2015-03-29 13:27     ` Paul Tan
2015-03-29 13:45       ` Ivan Ukhov
2015-03-29 17:39   ` Junio C Hamano
2015-03-29 18:02     ` Ivan Ukhov
2015-03-29 18:18       ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.