* Added output function to JSON output:

* `xml2json_vec(...,skiptop)` --> `xml2json_vec(..., cligen_output, skiptop)`
This commit is contained in:
Olof hagsand 2023-05-17 16:25:35 +02:00
parent 25cc14c1a2
commit 307a992f36
4 changed files with 13 additions and 9 deletions

View file

@ -506,7 +506,7 @@ cli_show_common(clicon_handle h,
if (format == FORMAT_JSON){
switch (format){
case FORMAT_JSON:
if (xml2json_vec(stdout, vec, veclen, pretty, skiptop) < 0) // XXX cligen_output
if (xml2json_vec(stdout, vec, veclen, pretty, cligen_output, skiptop) < 0)
goto done;
break;
default: