Changed output of clixon_cli -G option to show generated CLI spec original text instead of resulting parse-tree, which gives better detail from a debugging perspective.

This commit is contained in:
Olof hagsand 2020-05-09 16:20:05 +02:00
parent f9e1fe5de7
commit 266e5581e4
6 changed files with 21 additions and 20 deletions

View file

@ -39,7 +39,7 @@
/*
* Prototypes
*/
int yang2cli(clicon_handle h, yang_stmt *yspec, parse_tree *ptnew,
enum genmodel_type gt);
int yang2cli(clicon_handle h, yang_stmt *yspec, enum genmodel_type gt,
int printgen, parse_tree *ptnew);
#endif /* _CLI_GENERATE_H_ */