From: Romulo Pinho <romulo.pinho@lyon.unicancer.fr>
Date: Mon, 1 Oct 2012 08:35:37 +0000 (+0200)
Subject: added "-h" for help option VV
X-Git-Tag: v1.3.0~3
X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4d169a2b4d862ed8bb9155b358776ffe08154c76;p=clitk.git

added "-h" for help option VV
---

diff --git a/vv/vv.cxx b/vv/vv.cxx
index 9c3f666..c387c5e 100644
--- 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();