]> git.ozlabs.org Git - ccan/commit
opt: add opt_usage_exit_fail.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 4 Jun 2015 03:18:18 +0000 (12:48 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 4 Jun 2015 03:59:15 +0000 (13:29 +0930)
commitc7a7fc0a1771394534cafaa7c30aa215631efc82
treecf7fa595c7acddd67427e8caf3c5d00694a90bfe
parentc38e11b508e52fb2921e67d1123b05d9bef90fd2
opt: add opt_usage_exit_fail.

I've been using opt_usage_and_exit() but that exits status 0.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/opt/opt.h
ccan/opt/usage.c