cli pagination

This commit is contained in:
Olof hagsand 2020-11-24 13:14:21 +01:00
parent 8e266dd136
commit 2b5dceb82c
9 changed files with 130 additions and 157 deletions

View file

@ -1530,6 +1530,7 @@ from_client_get_pageable_list(clicon_handle h,
clicon_err(OE_UNIX, errno, "cbuf_new");
goto done;
}
/* This uses xpath. Maybe count/limit should use parameters */
cprintf(cb, "%s", xpath);
if (where)
cprintf(cb, "[%s]", where);