mirror of
https://github.com/edoardottt/cariddi.git
synced 2026-09-11 04:07:46 +02:00
Add print info in main
This commit is contained in:
@@ -189,4 +189,11 @@ func main() {
|
||||
output.EncapsulateCustomGreen(elem.Error.ErrorName, elem.Match+" in "+elem.Url)
|
||||
}
|
||||
}
|
||||
|
||||
//If needed print infos.
|
||||
if !flags.Plain && len(finalInfos) != 0 {
|
||||
for _, elem := range finalInfos {
|
||||
output.EncapsulateCustomGreen(elem.Info.Name, elem.Match+" in "+elem.Url)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user