yanglint UPDATE logging improved
diff --git a/tools/lint/cmd_add.c b/tools/lint/cmd_add.c
index 6a9af8d..9f10711 100644
--- a/tools/lint/cmd_add.c
+++ b/tools/lint/cmd_add.c
@@ -74,7 +74,7 @@
switch (opt) {
case 'D': /* --disable--search */
if (yo->ctx_options & LY_CTX_DISABLE_SEARCHDIRS) {
- YLMSG_W("The -D option specified too many times.\n");
+ YLMSG_W("The -D option specified too many times.");
}
yo_opt_update_disable_searchdir(yo);
break;
@@ -98,7 +98,7 @@
break;
default:
- YLMSG_E("Unknown option.\n");
+ YLMSG_E("Unknown option.");
return 1;
}
}
@@ -132,7 +132,7 @@
if (yo->schema_out_format || yo->feature_param_format) {
if (ly_set_add(&yo->schema_modules, (void *)mod, 1, NULL)) {
- YLMSG_E("Storing parsed schema module (%s) for print failed.\n", filepath);
+ YLMSG_E("Storing parsed schema module (%s) for print failed.", filepath);
return 1;
}
}