diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-reprolist/reprolist.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/syz-reprolist/reprolist.go b/tools/syz-reprolist/reprolist.go index 914e8cd01..1dddc7c6e 100644 --- a/tools/syz-reprolist/reprolist.go +++ b/tools/syz-reprolist/reprolist.go @@ -23,6 +23,7 @@ var ( flagToken = flag.String("token", "", "gcp bearer token to disable throttling (contact syzbot first)\n"+ "usage example: ./tools/syz-reprolist -namespace upstream -token $(gcloud auth print-access-token)") flagParallel = flag.Int("j", 2, "number of parallel threads") + flagVerbose = flag.Bool("v", false, "verbose output") ) func main() { @@ -61,8 +62,10 @@ func exportNamespace() error { continue } reproID := reproIDFromURL(cReproURL) - fmt.Printf("[%v](%v/%v)saving c-repro %v for bug %v\n", - i, iBug, len(bugs), reproID, bug.ID) + if *flagVerbose { + fmt.Printf("[%v](%v/%v)saving c-repro %v for bug %v\n", + i, iBug, len(bugs), reproID, bug.ID) + } cReproBody, err := cli.Text(cReproURL) if err != nil { return err |
