From: <pcb...@us...> - 2009-06-25 21:54:25
|
Revision: 4411 http://sashimi.svn.sourceforge.net/sashimi/?rev=4411&view=rev Author: pcbrefugee Date: 2009-06-25 21:54:23 +0000 (Thu, 25 Jun 2009) Log Message: ----------- [tpp_hostname] add arg to retrieve TPP build number info Modified Paths: -------------- trunk/trans_proteomic_pipeline/src/tpp_hostname/tpp_hostname.cpp Modified: trunk/trans_proteomic_pipeline/src/tpp_hostname/tpp_hostname.cpp =================================================================== --- trunk/trans_proteomic_pipeline/src/tpp_hostname/tpp_hostname.cpp 2009-06-25 21:52:48 UTC (rev 4410) +++ trunk/trans_proteomic_pipeline/src/tpp_hostname/tpp_hostname.cpp 2009-06-25 21:54:23 UTC (rev 4411) @@ -37,6 +37,7 @@ #include "common/sysdepend.h" #include "common/util.h" #include "Parsers/ramp/ramp.h" +#include "common/TPPVersion.h" // contains version number, name, revision int main(int argc, char *argv[]) { hooks_tpp hooks(argc,argv); // installdir issues etc @@ -65,6 +66,8 @@ if (ext) { printf("%s",ext); // return .ext if found } + } else if (!strcmp(argv[1],"versionInfo!")) { + printf("%s",szTPPVersionInfo); } else if (!strncmp(argv[1],cmd_uncompress_to_tmpfile,strlen(cmd_uncompress_to_tmpfile))) { // check for optional maxlength arg after the "!" int maxchar = atoi(argv[1]+strlen(cmd_uncompress_to_tmpfile)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |