From 9e69bafb67552c371cf22e1f2a15792ac64deaad Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 3 Feb 2012 07:57:12 +0100 Subject: [PATCH] Add -h option --- vv/vv.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vv/vv.cxx b/vv/vv.cxx index 9c3f666..ec82bb9 100644 --- a/vv/vv.cxx +++ b/vv/vv.cxx @@ -119,6 +119,9 @@ 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,"-h")) { + current = "--help"; + } if (!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); -- 2.45.2