make the version information more coherent.
This commit is contained in:
parent
a91002f807
commit
867246874b
@ -461,7 +461,7 @@ int main(int argc, char *argv[])
|
|||||||
mupp_syntax();
|
mupp_syntax();
|
||||||
return 0;
|
return 0;
|
||||||
} else if (!qstrcmp(argv[1], "-v") || !qstrcmp(argv[1], "--version")) {
|
} else if (!qstrcmp(argv[1], "-v") || !qstrcmp(argv[1], "--version")) {
|
||||||
std::cout << std::endl << "mupp git-branch " << GIT_BRANCH << ", git-revision: " << GIT_COMMIT_HASH << ", version: " << MUPP_VERSION << std::endl << std::endl;
|
std::cout << std::endl << "mupp version: " << MUPP_VERSION << ", git-branch: " << GIT_BRANCH << ", git-rev: " << GIT_COMMIT_HASH << std::endl << std::endl;
|
||||||
return 0;
|
return 0;
|
||||||
} else if (!qstrcmp(argv[1], "-s") || !qstrcmp(argv[1], "--script")) {
|
} else if (!qstrcmp(argv[1], "-s") || !qstrcmp(argv[1], "--script")) {
|
||||||
if (argc != 3) {
|
if (argc != 3) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user