yanglint TEST restriction on the merge parameter
diff --git a/tools/lint/cmd_data.c b/tools/lint/cmd_data.c
index 3f97c74..969ab79 100644
--- a/tools/lint/cmd_data.c
+++ b/tools/lint/cmd_data.c
@@ -336,6 +336,7 @@
if (data_merge) {
if (data_type || (options_parse & LYD_PARSE_ONLY)) {
/* switch off the option, incompatible input data type */
+ YLMSG_W("The --merge option has effect only for 'data' and 'config' TYPEs\n");
data_merge = 0;
} else {
/* postpone validation after the merge of all the input data */