yanglint (ni) BUGFIX missing -p option in getopt's settings
diff --git a/tools/lint/main_ni.c b/tools/lint/main_ni.c
index 1dde2f5..1a17b7e 100644
--- a/tools/lint/main_ni.c
+++ b/tools/lint/main_ni.c
@@ -387,9 +387,9 @@
uint8_t data_type_set = 0;
#ifndef NDEBUG
- while ((opt = getopt_long(argc, argv, "d:Def:F:hilmo:P:qst:vV", options, &opt_index)) != -1) {
+ while ((opt = getopt_long(argc, argv, "d:Def:F:hilmo:p:P:qst:vV", options, &opt_index)) != -1) {
#else
- while ((opt = getopt_long(argc, argv, "d:Def:F:G:hilmo:P:qst:vV", options, &opt_index)) != -1) {
+ while ((opt = getopt_long(argc, argv, "d:Def:F:G:hilmo:p:P:qst:vV", options, &opt_index)) != -1) {
#endif
switch (opt) {
case 'd': /* --default */