Handle ambiguous options in the OCaml

e.g. -r can be --root-uri or --refresh.