]> git.ozlabs.org Git - ccan/commit
ccan: allow user to set some bits in opt_table.type.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 8 May 2023 01:30:22 +0000 (11:00 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Jun 2023 03:08:36 +0000 (12:38 +0930)
commit4bfa8587c9b7c8450320232837c6481d07ce77f6
tree5486f98f1397c1578f65f7d6508f0f5d00bec45f
parent272b81be35908402abc92222ebfa2b845c240319
ccan: allow user to set some bits in opt_table.type.

In particular, Core Lightning wants to use this to flag arguments
which can be specified multiple times (without overriding).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/opt/opt.c
ccan/opt/opt.h
ccan/opt/parse.c
ccan/opt/test/run-userbits.c [new file with mode: 0644]
ccan/opt/usage.c