]> git.ozlabs.org Git - ccan/commit
ccan: break out routine to parse a single long argument.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 8 May 2023 01:27:41 +0000 (10:57 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Jun 2023 03:08:36 +0000 (12:38 +0930)
commit272b81be35908402abc92222ebfa2b845c240319
tree7c96fc2a0cbb39209459b86a31be2f6b4e74e155
parent322f249409838d2547449ce0ee8b479242ce2136
ccan: break out routine to parse a single long argument.

Core Lightning (ab)uses opt for config file parsing; this makes
that quite a bit neater!

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