cli-pagination
This commit is contained in:
parent
2b5dceb82c
commit
ba835346a5
1 changed files with 1 additions and 2 deletions
|
|
@ -1361,8 +1361,7 @@ cli_pagination(clicon_handle h, cvec *vars, cvec *argv)
|
||||||
while ((xc = xml_child_each(xret, xc, CX_ELMNT)) != NULL)
|
while ((xc = xml_child_each(xret, xc, CX_ELMNT)) != NULL)
|
||||||
switch (format){
|
switch (format){
|
||||||
case FORMAT_XML:
|
case FORMAT_XML:
|
||||||
clicon_xml2file(stdout, xc, 0, 0);
|
clicon_xml2file_cb(stdout, xc, 0, 1, cligen_output);
|
||||||
fprintf(stdout, "\n");
|
|
||||||
break;
|
break;
|
||||||
case FORMAT_JSON:
|
case FORMAT_JSON:
|
||||||
xml2json_cb(stdout, xc, 1, cligen_output);
|
xml2json_cb(stdout, xc, 1, cligen_output);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue