Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] support/scripts/pkg-stats: fix typo in --disable help text
@ 2025-04-28 21:01 Raphaël Mélotte via buildroot
  2025-04-29 19:46 ` Julien Olivain
  2025-05-16 10:45 ` Arnout Vandecappelle via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Raphaël Mélotte via buildroot @ 2025-04-28 21:01 UTC (permalink / raw)
  To: buildroot; +Cc: Raphaël Mélotte, Sen Hastings

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@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')
-- 
2.49.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] support/scripts/pkg-stats: fix typo in --disable help text
  2025-04-28 21:01 [Buildroot] [PATCH 1/1] support/scripts/pkg-stats: fix typo in --disable help text Raphaël Mélotte via buildroot
@ 2025-04-29 19:46 ` Julien Olivain
  2025-05-16 10:45 ` Arnout Vandecappelle via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain @ 2025-04-29 19:46 UTC (permalink / raw)
  To: Raphaël Mélotte; +Cc: buildroot, Sen Hastings

On 28/04/2025 23:01, Raphaël Mélotte via buildroot wrote:
> 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@mind.be>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] support/scripts/pkg-stats: fix typo in --disable help text
  2025-04-28 21:01 [Buildroot] [PATCH 1/1] support/scripts/pkg-stats: fix typo in --disable help text Raphaël Mélotte via buildroot
  2025-04-29 19:46 ` Julien Olivain
@ 2025-05-16 10:45 ` Arnout Vandecappelle via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2025-05-16 10:45 UTC (permalink / raw)
  To: Raphaël Mélotte, buildroot; +Cc: Sen Hastings



On 28/04/2025 23:01, Raphaël Mélotte via buildroot wrote:
> 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@mind.be>

  Applied to 2025.02.x, thanks.

  Regards,
  Arnout

> ---
>   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')

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-16 10:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-28 21:01 [Buildroot] [PATCH 1/1] support/scripts/pkg-stats: fix typo in --disable help text Raphaël Mélotte via buildroot
2025-04-29 19:46 ` Julien Olivain
2025-05-16 10:45 ` Arnout Vandecappelle via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox