yanglint UPDATE option long name
diff --git a/tools/lint/cmd_add.c b/tools/lint/cmd_add.c
index df839c6..c976624 100644
--- a/tools/lint/cmd_add.c
+++ b/tools/lint/cmd_add.c
@@ -40,7 +40,7 @@
" -F FEATURES, --features=FEATURES\n"
" Features to support, default all.\n"
" <modname>:[<feature>,]*\n"
- " -i, --makeimplemented\n"
+ " -i, --make-implemented\n"
" Make the imported modules \"referenced\" from any loaded\n"
" <schema> module also implemented. If specified a second time,\n"
" all the modules are set implemented.\n");
@@ -56,7 +56,7 @@
{"disable-searchdir", no_argument, NULL, 'D'},
{"features", required_argument, NULL, 'F'},
{"help", no_argument, NULL, 'h'},
- {"makeimplemented", no_argument, NULL, 'i'},
+ {"make-implemented", no_argument, NULL, 'i'},
{NULL, 0, NULL, 0}
};
uint16_t options_ctx = 0;
@@ -90,7 +90,7 @@
cmd_add_help();
goto cleanup;
- case 'i': /* --makeimplemented */
+ case 'i': /* --make-implemented */
if (options_ctx & LY_CTX_REF_IMPLEMENTED) {
options_ctx &= ~LY_CTX_REF_IMPLEMENTED;
options_ctx |= LY_CTX_ALL_IMPLEMENTED;