context CHANGE unify names of the context options manipulation functions
diff --git a/tools/lint/commands.c b/tools/lint/commands.c
index 41654f9..5d27c39 100644
--- a/tools/lint/commands.c
+++ b/tools/lint/commands.c
@@ -204,7 +204,7 @@
for (s = strstr(arg_ptr, "-i"); s ; s = strstr(s + 2, "-i")) {
if (s[2] == '\0' || s[2] == ' ') {
- ly_ctx_set_option(ctx, LY_CTX_ALLIMPLEMENTED);
+ ly_ctx_set_options(ctx, LY_CTX_ALLIMPLEMENTED);
s[0] = s[1] = ' ';
}
}
@@ -270,7 +270,7 @@
cleanup:
free(s);
- ly_ctx_unset_option(ctx, LY_CTX_ALLIMPLEMENTED);
+ ly_ctx_unset_options(ctx, LY_CTX_ALLIMPLEMENTED);
return ret;
}
@@ -291,7 +291,7 @@
for (s = strstr(arg_ptr, "-i"); s ; s = strstr(s + 2, "-i")) {
if (s[2] == '\0' || s[2] == ' ') {
- ly_ctx_set_option(ctx, LY_CTX_ALLIMPLEMENTED);
+ ly_ctx_set_options(ctx, LY_CTX_ALLIMPLEMENTED);
s[0] = s[1] = ' ';
}
}
@@ -336,7 +336,7 @@
cleanup:
free(s);
- ly_ctx_unset_option(ctx, LY_CTX_ALLIMPLEMENTED);
+ ly_ctx_unset_options(ctx, LY_CTX_ALLIMPLEMENTED);
return ret;
}