cli help
This commit is contained in:
parent
5cea5fa768
commit
089b2da71c
2 changed files with 12 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue