getobjformat
int getobjformat(char *, size_t, int *, char **);
if (getobjformat(objformat, sizeof objformat, &argc, argv) == -1)