yanglint UPDATE option long name
diff --git a/tools/lint/cmd_clear.c b/tools/lint/cmd_clear.c
index 798095f..5eed6ff 100644
--- a/tools/lint/cmd_clear.c
+++ b/tools/lint/cmd_clear.c
@@ -31,7 +31,7 @@
printf("Usage: clear [-i] [-y]\n"
" Replace the current context with an empty one, searchpaths\n"
" are not kept.\n\n"
- " -i, --makeimplemented\n"
+ " -i, --make-implemented\n"
" Make the imported modules \"referenced\" from any loaded\n"
" module also implemented. If specified a second time, all the\n"
" modules are set implemented.\n"
@@ -52,9 +52,9 @@
char **argv = NULL;
int opt, opt_index;
struct option options[] = {
- {"makeimplemented", no_argument, NULL, 'i'},
- {"yang-library", no_argument, NULL, 'y'},
- {"help", no_argument, NULL, 'h'},
+ {"make-implemented", no_argument, NULL, 'i'},
+ {"yang-library", no_argument, NULL, 'y'},
+ {"help", no_argument, NULL, 'h'},
{NULL, 0, NULL, 0}
};
uint16_t options_ctx = LY_CTX_NO_YANGLIBRARY;