...
This commit is contained in:
parent
648dfec8a9
commit
3dc85838c8
1 changed files with 1 additions and 0 deletions
|
|
@ -292,6 +292,7 @@ def generate_c_parser_for(funcname: str, spec: str) -> Iterator[str]:
|
|||
yield '\tflag.defval.type = CLI_VALUE_STRING;'
|
||||
yield f'\tflag.defval.strval = {"NULL" if defval is None else c_str(defval)};'
|
||||
yield '\tif (vt_is_end(vt_insert(&spec->flag_map, flag.dest, flag))) OOM;'
|
||||
yield '\tparse_cli_loop(spec, true, argc, argv);'
|
||||
yield '}'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue