mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
Merge pull request #543 from oleg-alexandrov/exitAfterPrintHelp
Exit after printing the help message
This commit is contained in:
commit
2a2d7c6e10
@ -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 <meshfile>\n"
|
||||
"Look at http://www.meshlab.net\n"
|
||||
"for a longer documentation\n"
|
||||
);
|
||||
return 0;
|
||||
}
|
||||
|
||||
for (int i = 1; i < argc; ++i)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user