Skip to content

Commit

Permalink
Added version argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
andeplane committed May 5, 2017
1 parent 179f306 commit 8e7ef4d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ int main(int argc, char *argv[])
if(strcmp(argv[1], "--showdatadir")==0) {
showDataDir();
}

if(strcmp(argv[1], "--version")==0) {
qDebug() << "2.0";
exit(0);
}
}

copyExamplesToLocalFolder();
Expand Down

0 comments on commit 8e7ef4d

Please sign in to comment.