]> git.ozlabs.org Git - ccan/commitdiff
opt: add opt_log_stderr_exit helper, and opt_usage NULL option.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 7 Oct 2010 23:41:11 +0000 (10:11 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 7 Oct 2010 23:41:11 +0000 (10:11 +1030)
The former encapsulates a common "just exit on error" case, the latter
avoids having to repeat the extra usage string.

(We actually would have crashed before if someone passed NULL there, even
 though the documentation said you could).


No differences found