completing the function of hide for autocli-op in the yang files

This commit is contained in:
shmuels 2021-04-18 16:58:18 +03:00
parent 8ca5944111
commit c370ac8706
16 changed files with 98 additions and 44 deletions

View file

@ -205,7 +205,7 @@ main(int argc, char **argv)
xpath = "/";
if (xmldb_get(h, db, NULL, xpath, &xt) < 0)
goto done;
clicon_xml2file(stdout, xt, 0, 0);
clicon_xml2file(stdout, xt, 0, 0, 0);
fprintf(stdout, "\n");
if (xt){
xml_free(xt);
@ -228,7 +228,7 @@ main(int argc, char **argv)
clicon_err(OE_DB, 0, "xt is NULL");
goto done;
}
clicon_xml2file(stdout, xt, 0, 0);
clicon_xml2file(stdout, xt, 0, 0, 0);
if (xt){
xml_free(xt);
xt = NULL;