Pharmacology

True statement regarding bromocriptine is: