correct use of getops in provision