comparison src/help.cc @ 993:34c1b152d6a3

[project @ 1994-12-15 16:46:46 by jwe]
author jwe
date Thu, 15 Dec 1994 16:46:46 +0000
parents 18be848f10a9
children dfe01093f657
comparison
equal deleted inserted replaced
992:2015030c0621 993:34c1b152d6a3
680 output_buf << "\n" << h << "\n"; 680 output_buf << "\n" << h << "\n";
681 continue; 681 continue;
682 } 682 }
683 } 683 }
684 684
685 char *h = get_help_from_file (*argv); 685 char *path = fcn_file_in_path (*argv);
686 char *h = get_help_from_file (path);
686 if (h && *h) 687 if (h && *h)
687 { 688 {
688 output_buf << "\n" << h << "\n"; 689 output_buf << *argv << " is the file:\n"
690 << path << "\n\n" << h << "\n";
689 delete [] h; 691 delete [] h;
692 delete [] path;
690 continue; 693 continue;
691 } 694 }
695 delete [] path;
692 696
693 output_buf << "\nhelp: sorry, `" << *argv 697 output_buf << "\nhelp: sorry, `" << *argv
694 << "' is not documented\n"; 698 << "' is not documented\n";
695 } 699 }
696 700