Main examples uses new auto-mode

This commit is contained in:
Olof hagsand 2020-10-17 23:13:47 +02:00
parent a77cd27abb
commit f07f291bdd
3 changed files with 28 additions and 35 deletions

View file

@ -303,7 +303,7 @@ cli_auto_show(clicon_handle h,
cvec *cvv,
cvec *argv)
{
int retval = 1;
int retval = -1;
char *treename;
char *db;
char *api_path = NULL;
@ -318,7 +318,7 @@ cli_auto_show(clicon_handle h,
yang_stmt *yspec;
cxobj *xerr;
cxobj *xt = NULL;
cxobj **vec;
cxobj **vec = NULL;
size_t veclen;
int i;
int isroot;