return argument value as opposed to argument index

`ropt_get` must return an argument value whereas `ropt_has` must return the
argument index (or 0 if not found) - fixes #1.