data FEATURE printer for YANG data in JSON format
diff --git a/src/printer_schema.c b/src/printer_schema.c
index 0c944d9..5c5de8a 100644
--- a/src/printer_schema.c
+++ b/src/printer_schema.c
@@ -43,7 +43,7 @@
break;
}
- ret = yang_print_parsed_module(out, module, module->parsed);
+ ret = yang_print_parsed_module(out, module, module->parsed, options);
break;
case LYS_OUT_YANG_COMPILED:
if (!module->compiled) {
@@ -61,7 +61,7 @@
break;
}
- ret = yin_print_parsed_module(out, module, module->parsed);
+ ret = yin_print_parsed_module(out, module, module->parsed, options);
break;
/* TODO not yet implemented
case LYS_OUT_TREE:
@@ -82,7 +82,7 @@
API LY_ERR
lys_print_submodule(struct ly_out *out, const struct lys_module *module, const struct lysp_submodule *submodule,
- LYS_OUTFORMAT format, int UNUSED(line_length), int UNUSED(options))
+ LYS_OUTFORMAT format, int UNUSED(line_length), int options)
{
LY_ERR ret;
@@ -93,10 +93,10 @@
switch (format) {
case LYS_OUT_YANG:
- ret = yang_print_parsed_submodule(out, module, submodule);
+ ret = yang_print_parsed_submodule(out, module, submodule, options);
break;
case LYS_OUT_YIN:
- ret = yin_print_parsed_submodule(out, module, submodule);
+ ret = yin_print_parsed_submodule(out, module, submodule, options);
break;
/* TODO not yet implemented
case LYS_OUT_TREE: