use goptions instead of flag to parse command