From 7cf1c1d56674382ba2b10d0f0cd8b56023c9a861 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 27 May 2017 21:59:03 +0100 Subject: Added LIST type support --- test/test1.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test1.c b/test/test1.c index eea5759..f6a7a70 100644 --- a/test/test1.c +++ b/test/test1.c @@ -3,12 +3,15 @@ #include "../arg.h" +//define ip4 127.0.0.1:8080 s_arg_ip src_ip = { .port = 8080, .ip = 0x7f000001 }; +//? +//frequency range from 88:108 s_arg_range freq_range = { .start = 88, @@ -41,7 +44,7 @@ def_arg cmd_arg[] = ARG_ENTRY("-c",FLOAT,&ratio_float), ARG_ENTRY("-d",LIST,&color_name_list), ARG_ENTRY("-e",VAL,&number_val), - ARG_ENTRY("-f",FLAG,NULL), + ARG_ENTRY("-f",FILE,NULL), ARG_ENTRY("-g",FLAG,NULL), {NULL,0,NULL} }; -- cgit v1.2.3