Re: [PATCH 2/3] config: set help text for --bool-or-int
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Mar 7, 2009, 21:07 UTC
- Message-ID
- <94a0d4530903071307p46092810rb1637bfc853ee4d1@mail.gmail.com>
- In-Reply-To
- <1236446046-18319-3-git-send-email-peff@peff.net>
On Sat, Mar 7, 2009 at 7:14 PM, Jeff King <peff@peff.net> wrote:
Show 6 quoted lines
> The conversion to parse_opt left this as NULL; on glibc > systems, the usage message prints > > --bool-or-int (null) > > and on other ones, segfaults.
Shouldn't then OPT_BIT make sure there is no crash?
I was surprised when it didn't complain. I thought on making it "" but I wanted to make it visible that there was no documentation for that, which is the reason I left it that way.
-- Felipe Contreras