]> Creatis software - clitk.git/commitdiff
added "-h" for help option VV
authorRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Mon, 1 Oct 2012 08:35:37 +0000 (10:35 +0200)
committerRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Mon, 1 Oct 2012 08:35:37 +0000 (10:35 +0200)
vv/vv.cxx

index 9c3f666be3904a8de0350748bfd96c363917519b..c387c5e801423dd5e70e590cdb1241395fcb8a26 100644 (file)
--- a/vv/vv.cxx
+++ b/vv/vv.cxx
@@ -119,7 +119,7 @@ int main( int argc, char** argv )
   if (argc >1) {
     for (int i = 1; i < argc; i++) {
       std::string current = argv[i];
-      if (!current.compare(0,2,"--")) { //We are parsing an option
+      if (!current.compare(0,1,"-")) { // && !current.compare(0,2,"--")) { //We are parsing an option
         if (parse_mode == P_SEQUENCE) {//First finish the current sequence
           window.LoadImages(sequence_filenames, vvImageReader::MERGEDWITHTIME);
           sequence_filenames.clear();