From 5e63914651ec58eebb2a08537c94a00e9e861d35 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 30 Mar 2012 11:06:53 +0200 Subject: [PATCH] Add "-h" in addition to "--help" --- vv/vv.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vv/vv.cxx b/vv/vv.cxx index feec79c..4ee2489 100644 --- 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 -- 2.47.1