This commit is contained in:
Olof Hagsand 2017-10-07 11:24:25 +02:00
parent 5cea5fa768
commit 089b2da71c
2 changed files with 12 additions and 0 deletions

View file

@ -1243,3 +1243,13 @@ cli_debug(clicon_handle h,
done:
return 0;
}
int
cli_help(clicon_handle h, cvec *vars, cvec *argv)
{
cligen_handle ch = cli_cligen(h);
parse_tree *pt;
pt = cligen_tree_active_get(ch);
return cligen_help(stdout, *pt);
}