Skip to content

How to print the line at which a warning occured in yanglint? #2004

Answered by michalvasko
hellt asked this question in Q&A
Discussion options

You must be logged in to vote

After that there should always be another warning in the form

libyang warn: Previous warning generated by XPath subexpression[<idx>] "<relevant-xpath-part>" with context node "<xpath-of-the-context-node>".

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@hellt
Comment options

@michalvasko
Comment options

@hellt
Comment options

@michalvasko
Comment options

@hellt
Comment options

Answer selected by hellt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants