Update of /cvsroot/javaprofiler/library/src/setup
In directory usw-pr-cvs1:/tmp/cvs-serv27034/src/setup
Modified Files:
setup.cpp
Log Message:
calltree
Index: setup.cpp
===================================================================
RCS file: /cvsroot/javaprofiler/library/src/setup/setup.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** setup.cpp 2001/11/21 22:31:49 1.7
--- setup.cpp 2002/01/31 12:31:00 1.8
***************
*** 83,93 ****
}
! void Setup::processOption(char* option) {
char* eq;
! if (!(eq = strchr(option, '='))) return;
*eq = '\0';
! setParameter(option, eq + 1);
}
--- 83,103 ----
}
! void Setup::processOption( char* option) {
char* eq;
! if( !(eq = strchr( option, '='))) {
!
! if( !strcmp( option, "version")) {
!
! cout << "Java Profiling Tool - profiler library" << endl;
! cout << "http://javaprofiler.sourceforge.net/" << endl << endl;
! cout << "build: " << __DATE__ << " " << __TIME__ << endl << endl;
! }
! return;
! }
!
*eq = '\0';
! setParameter( option, eq+1);
}
|