formatting
This commit is contained in:
parent
3ecc2317ab
commit
9dfa36d7e7
34
test/test.c
34
test/test.c
|
@ -90,14 +90,32 @@ int main(int argc, char **argv)
|
||||||
};
|
};
|
||||||
|
|
||||||
struct readopt_oper opers[] = {
|
struct readopt_oper opers[] = {
|
||||||
{.name = "pattern",
|
{
|
||||||
.bounds.inf = 1},
|
.name = "pattern",
|
||||||
{.name = "file",
|
.bounds.inf = 1,
|
||||||
.bounds = {
|
},
|
||||||
.val = {1},
|
{
|
||||||
.inf = 1}},
|
.name = "file",
|
||||||
{.name = "name", .bounds = {.val = {1}, .inf = 1}},
|
.bounds = {
|
||||||
{0}};
|
.val = {
|
||||||
|
1,
|
||||||
|
},
|
||||||
|
.inf = 1,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.name = "name",
|
||||||
|
.bounds = {
|
||||||
|
.val = {
|
||||||
|
1,
|
||||||
|
},
|
||||||
|
.inf = 1,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
0,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
struct readopt_parser rp;
|
struct readopt_parser rp;
|
||||||
readopt_parser_init(
|
readopt_parser_init(
|
||||||
|
|
Loading…
Reference in a new issue