With-defaults CLI support
Extended cli_auto_show() with with-defaults argument, also changing its signature Example: Added with-defaults argument to clispec C-API: Added with-defaults argument to clicon_rpc_get_config Replaced with-defaults prefix/namespace with constants
This commit is contained in:
parent
42d5b6fba2
commit
743076b171
23 changed files with 256 additions and 56 deletions
|
|
@ -1367,7 +1367,7 @@ xml_wrap(cxobj *xc,
|
|||
* @param[in] xc xml child node (to be removed and freed)
|
||||
* @retval 0 OK
|
||||
* @retval -1
|
||||
* @note you cannot remove xchild in the loop (unless yoy keep track of xprev)
|
||||
* @note you cannot remove xchild in the loop (unless you keep track of xprev)
|
||||
* @note Linear complexity - use xml_child_rm if possible
|
||||
* @see xml_free Free, dont remove from parent
|
||||
* @see xml_child_rm Remove if child order is known (does not free)
|
||||
|
|
@ -1500,6 +1500,7 @@ xml_rm_children(cxobj *xp,
|
|||
return retval;
|
||||
}
|
||||
|
||||
|
||||
/*! Remove top XML object and all children except a single child
|
||||
* Given a root xml node, and the i:th child, remove the child from its parent
|
||||
* and return it, remove the parent and all other children. (unwrap)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue