- res = section ? manual(section, *argv) :
- manual(list1, *argv) || manual(list2, *argv);
- if (!res && !where)
- if (manpath == locpath)
- if (section)
- fprintf(stderr, "No entry for %s in the %s section of the local manual.\n", *argv, section->msg);
- else
- fprintf(stderr, "No entry for %s in the local manual.\n", *argv);
- else if (manpath == newpath)
- if (section)
- fprintf(stderr, "No entry for %s in the %s section of the new manual.\n", *argv, section->msg);
- else
- fprintf(stderr, "No entry for %s in the new manual.\n", *argv);
- else if (section)
- fprintf(stderr, "No entry for %s in the %s section of the manual.\n", *argv, section->msg);
- else
- fprintf(stderr, "No entry for %s in the manual.\n", *argv);
+ fputs("man: ", stderr);
+ if (*argv)
+ fprintf(stderr, "no entry for %s in the ", *argv);
+ else
+ fputs("what do you want from the ", stderr);
+ if (section)
+ fprintf(stderr, "%s section of the ", section->msg);
+ if (manpath == locpath)
+ fputs("local ", stderr);
+ else if (manpath == newpath)
+ fputs("new ", stderr);
+ if (*argv)
+ fputs("manual.\n", stderr);
+ else
+ fputs("manual?\n", stderr);
+ exit(1);