-q work for config print

This commit is contained in:
M09Ic 2024-09-23 16:10:00 +08:00
parent fcce861ae3
commit ed3e95f21d

View File

@ -393,7 +393,9 @@ func (opt *Option) NewRunner() (*Runner, error) {
r.Probes = strings.Split(opt.OutputProbe, ",")
}
if !opt.Quiet {
fmt.Println(opt.PrintConfig(r))
}
// init output file
if opt.OutputFile != "" {