- } else if (strcmp(*ap, "-a") == 0) {
- ++argp;
- if (*(ap+1) == NULL ||
- ! isdigit ((unsigned char) *(ap+1)[0])) {
- advise(NULL,
- "ignoring attach -a without format argument.");
- } else {
- ++argp;
- ++ap;
- if ((attachformat = atoi(*ap)) > 2) {
- advise(NULL,
- "ingoring invalid attachformat value of %d",
- attachformat);
- attachformat = 1;
- }
- }