Skip to content

Commit 9c85553

Browse files
committed
doc UPDATE clarify last created node
Refs #2337
1 parent 03e294d commit 9c85553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree_data.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1591,7 +1591,7 @@ LIBYANG_API_DECL LY_ERR lyd_new_path(struct lyd_node *parent, const struct ly_ct
15911591
* @param[in] value_type Anyxml/anydata node @p value type.
15921592
* @param[in] options Bitmask of options, see @ref newvaloptions.
15931593
* @param[out] new_parent Optional first parent node created. If only one node was created, equals to @p new_node.
1594-
* @param[out] new_node Optional last node created.
1594+
* @param[out] new_node Optional last node created (in case of a list, it is the list instance, not any of the key nodes).
15951595
* @return LY_SUCCESS on success.
15961596
* @return LY_EEXIST if the final node to create exists (unless ::LYD_NEW_PATH_UPDATE is used).
15971597
* @return LY_EINVAL on invalid arguments including invalid @p path.

0 commit comments

Comments
 (0)