Detect available flags for extensions (#2557)

* draft dump json in help

* polish feature

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
ChristopherHX
2025-02-08 20:16:57 +01:00
committed by GitHub
parent 5eae59e0ef
commit e636684948
3 changed files with 29 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ type Notice struct {
}
func displayNotices(input *Input) {
// Avoid causing trouble parsing the json
if input.listOptions {
return
}
select {
case notices := <-noticesLoaded:
if len(notices) > 0 {