]> Creatis software - clitk.git/blobdiff - vv/vv.cxx
Add EmitKeyPressed
[clitk.git] / vv / vv.cxx
index f9430fe7ab12c79f7a3ba6c82c4ad8d8a8a4cd2a..9c3f666be3904a8de0350748bfd96c363917519b 100644 (file)
--- a/vv/vv.cxx
+++ b/vv/vv.cxx
@@ -125,7 +125,7 @@ int main( int argc, char** argv )
           sequence_filenames.clear();
           parse_mode=P_NORMAL;
         }
-        if (current=="--help") {
+        if ((current=="--help") || (current=="-h")) {
           std::cout << "vv " << VV_VERSION << ", the 2D, 2D+t, 3D and 3D+t (or 4D) image viewer" << std::endl << std::endl
                     << "Synopsis: vv file(s) [OPTIONS] file(s)" << std::endl << std::endl
                     << "Open file(s) for visualization." << std::endl << std::endl