* Added output function to JSON output:
* `xml2json_vec(...,skiptop)` --> `xml2json_vec(..., cligen_output, skiptop)`
This commit is contained in:
parent
25cc14c1a2
commit
307a992f36
4 changed files with 13 additions and 9 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue