[Buildroot] [git commit branch/2025.02.x] support/scripts/pkg-stats: fix typo in --disable help text
Thomas Perale
thomas.perale at mind.be
Wed May 14 18:58:57 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=0934ce73214c22c8e99db3cf52d5258ce8041dbe
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.02.x
Annoyingly, using "--disable warning" does not disable the warnings
checks.
It turns out that we look for "warnings" (i.e. with an 's') to know if
we should disable the warnings check, so update the help text
accordingly.
Signed-off-by: Raphaël Mélotte <raphael.melotte at mind.be>
Signed-off-by: Julien Olivain <ju.o at free.fr>
(cherry picked from commit 92e7ab78d6546d822dbeff7282feae4a42e6cbb5)
Signed-off-by: Thomas Perale <thomas.perale at mind.be>
---
support/scripts/pkg-stats | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index c134e1ec06..46b12cd992 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -1276,7 +1276,7 @@ def parse_args():
parser.add_argument('--nvd-path', dest='nvd_path',
help='Path to the local NVD database', type=resolvepath)
parser.add_argument('--disable', type=list_str,
- help='Features to disable, comma-separated (cve, upstream, url, warning)',
+ help='Features to disable, comma-separated (cve, upstream, url, warnings)',
default=[])
parser.add_argument('-v', '--verbose', dest='verbose', action='store_true',
help='Increase verbosity')
More information about the buildroot
mailing list