From 24ab24777d7cd72b7ff35a9d02cb43e26f006b0d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 25 May 2010 17:45:03 +0000 Subject: More myriad testing, fixes, arrangement, etc. UnitSuite add-ons, it has some command line parameters now, I would like to also add an automatic paramter that would switch it to a computer-readable output mode for use in a larger testing framework. --- src/tools/myriad.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/tools') diff --git a/src/tools/myriad.cpp b/src/tools/myriad.cpp index 605aac9..535d7ac 100644 --- a/src/tools/myriad.cpp +++ b/src/tools/myriad.cpp @@ -121,7 +121,6 @@ int main( int argc, char *argv[] ) { File fIn( opts.sFile, File::Read ); Myriad m( fIn ); - m.initialize(); } break; @@ -135,7 +134,6 @@ int main( int argc, char *argv[] ) { File fOut( opts.sFile, File::Write|File::Read ); Myriad m( fOut ); - m.initialize(); m.createStream( opts.iPreallocate ); } break; @@ -143,14 +141,13 @@ int main( int argc, char *argv[] ) case modeStreamDump: if( !opts.sFile.isSet() ) { - sio << "Please specify a file manipulate." << sio.nl; + sio << "Please specify a file to manipulate." << sio.nl; return 0; } else { File fOut( opts.sFile, File::Read ); Myriad m( fOut ); - m.initialize(); MyriadStream s = m.openStream( opts.iStream ); sio << "Stream " << opts.iStream << ":" << sio.nl; char buf[8]; @@ -198,7 +195,6 @@ int main( int argc, char *argv[] ) { File fOut( opts.sFile, File::Write|File::Read ); Myriad m( fOut ); - m.initialize(); MyriadStream sOut = m.openStream( m.createStream( opts.iPreallocate ) ); -- cgit v1.2.3