yanglint BUGFIX enable implemented -e/--presence option
- non-interactive mode
The option was not included in getopt's parameters
diff --git a/tools/lint/main_ni.c b/tools/lint/main_ni.c
index 9c3826a..8746ba7 100644
--- a/tools/lint/main_ni.c
+++ b/tools/lint/main_ni.c
@@ -440,9 +440,9 @@
uint8_t data_type_set = 0;
#ifndef NDEBUG
- while ((opt = getopt_long(argc, argv, "d:Df:F:hilmo:P:qr:st:vV", options, &opt_index)) != -1) {
+ while ((opt = getopt_long(argc, argv, "d:Def:F:hilmo:P:qr:st:vV", options, &opt_index)) != -1) {
#else
- while ((opt = getopt_long(argc, argv, "d:Df:F:G:hilmo:P:qr:st:vV", options, &opt_index)) != -1) {
+ while ((opt = getopt_long(argc, argv, "d:Def:F:G:hilmo:P:qr:st:vV", options, &opt_index)) != -1) {
#endif
switch (opt) {
case 'd': /* --default */