completing the function of hide for autocli-op in the yang files
This commit is contained in:
parent
c370ac8706
commit
cede620a2a
1 changed files with 2 additions and 0 deletions
|
|
@ -611,6 +611,7 @@ yang2cli_var(clicon_handle h,
|
||||||
cb);
|
cb);
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
goto done;
|
goto done;
|
||||||
|
if (result == 0)
|
||||||
yang2cli_helptext(cb, helptext);
|
yang2cli_helptext(cb, helptext);
|
||||||
}
|
}
|
||||||
cprintf(cb, ")");
|
cprintf(cb, ")");
|
||||||
|
|
@ -635,6 +636,7 @@ yang2cli_var(clicon_handle h,
|
||||||
cb);
|
cb);
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
goto done;
|
goto done;
|
||||||
|
if (result == 0)
|
||||||
yang2cli_helptext(cb, helptext);
|
yang2cli_helptext(cb, helptext);
|
||||||
cprintf(cb, ")");
|
cprintf(cb, ")");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue