diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test1.c | 5 |
1 files changed, 4 insertions, 1 deletions
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} }; |