cmd/accounts.go
changeset 110 57843255fd1a
parent 102 84ad56b643c8
child 113 2e411da68fd3
equal deleted inserted replaced
109:912e72511084 110:57843255fd1a
   529 	p, err := getPrinter()
   529 	p, err := getPrinter()
   530 	if err != nil {
   530 	if err != nil {
   531 		errPrint("Error: %s", err.Error())
   531 		errPrint("Error: %s", err.Error())
   532 		os.Exit(1)
   532 		os.Exit(1)
   533 	}
   533 	}
   534 	return p.PrintObj(obj, nil, "")
   534 	return p.printObj(obj)
   535 }
   535 }
   536 
   536 
   537 // accountLookupUser tries to find a (single) user matching 'user'
   537 // accountLookupUser tries to find a (single) user matching 'user'
   538 // If the user is an HTTP URL, it will use the search API, else
   538 // If the user is an HTTP URL, it will use the search API, else
   539 // it will use the accounts/search API.
   539 // it will use the accounts/search API.