@@ -152,9 +152,12 @@ func main() {
152152 }
153153
154154 for _ , name := range args .Domains .Slice () {
155- for _ , assoc := range getAssociations (name , start , db ) {
156- var rel string
155+ for i , assoc := range getAssociations (name , start , db ) {
156+ if i != 0 {
157+ fmt .Println ()
158+ }
157159
160+ var rel string
158161 switch v := assoc .Asset .(type ) {
159162 case * oamreg.DomainRecord :
160163 rel = "registrant_contact"
@@ -180,7 +183,9 @@ func main() {
180183 }
181184
182185 if verbose {
186+ afmt .B .Fprintf (color .Output , "\n Registrant:\n " )
183187 printContactInfo (assoc , rel , start , db )
188+ fmt .Println ()
184189 }
185190 }
186191 }
@@ -197,7 +202,7 @@ func printContactInfo(assoc *dbt.Asset, regrel string, since time.Time, db *asse
197202 return
198203 }
199204
200- for _ , out := range []string {"person" , "organization" , "location" , "phone" , "email" , "url" } {
205+ for _ , out := range []string {"person" , "organization" , "location" , "phone" , "email" } {
201206 if rels , err := db .OutgoingRelations (contact , since , out ); err == nil && len (rels ) > 0 {
202207 for _ , rel := range rels {
203208 if a , err := db .FindById (rel .ToAsset .ID , since ); err == nil && a != nil {
0 commit comments