Update of /cvsroot/rarch/src/src
In directory usw-pr-cvs1:/tmp/cvs-serv25042/src
Modified Files:
	main.cpp 
Log Message:
Added GPL info to help text
Index: main.cpp
===================================================================
RCS file: /cvsroot/rarch/src/src/main.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** main.cpp	8 Aug 2002 13:16:01 -0000	1.4
--- main.cpp	8 Aug 2002 13:28:15 -0000	1.5
***************
*** 31,34 ****
--- 31,35 ----
  #include "cmdl.h"
  
+ void gpl();
  void help(char name[]);
  
***************
*** 41,44 ****
--- 42,47 ----
  	if (argc == 1)
  	{
+ 		gpl();
+ 		cout << endl;
  		help(argv[0]);
  		return 1;
***************
*** 58,63 ****
  	cout << "\nCommands:\n";
  	cout << "\tsearch <string>\t\tSearch for <string> in database\n";
! 	cout << "\tadd <archive> <directory>\t\tAdds <directory> to <archive>\n";
  
  	cout << "\nPlease report any bugs to <rar...@ft...>.\n";
  }
--- 61,74 ----
  	cout << "\nCommands:\n";
  	cout << "\tsearch <string>\t\tSearch for <string> in database\n";
! 	cout << "\tadd <archive> <dir>\t\tAdds <dir> to <archive>\n";
  
  	cout << "\nPlease report any bugs to <rar...@ft...>.\n";
+ }
+ 
+ void gpl()
+ {
+ 	cout << "This program is distributed in the hope that it will be useful,\n";
+ 	cout << "but WITHOUT ANY WARRANTY; without even the implied warranty of\n";
+ 	cout << "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n";
+ 	cout << "GNU General Public License for more details.\n";
  }
 |