From 4d169a2b4d862ed8bb9155b358776ffe08154c76 Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Mon, 1 Oct 2012 10:35:37 +0200 Subject: [PATCH] added "-h" for help option VV --- vv/vv.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.47.1