diff --git a/src/meshlab/main.cpp b/src/meshlab/main.cpp index c9976d21e..ef692e6e8 100644 --- a/src/meshlab/main.cpp +++ b/src/meshlab/main.cpp @@ -59,12 +59,15 @@ int main(int argc, char *argv[]) QString helpOpt1="-h"; QString helpOpt2="--help"; if( (helpOpt1==argv[1]) || (helpOpt2==argv[1]) ) + { printf( "usage:\n" "meshlab \n" "Look at http://www.meshlab.net\n" "for a longer documentation\n" ); + return 0; + } for (int i = 1; i < argc; ++i) {