summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-06-16 19:44:09 (GMT)
committerGitHub <noreply@github.com>2020-06-16 19:44:09 (GMT)
commit009829007a8e0694bf49aaa563aa21afe514b4ac (patch)
tree5e287780372292f2837942118053b0dc925d86e8
parente922facbb92cda058eae33f58f7640be8d1fb5b8 (diff)
parentdf070ebb578db360f4b888a6d674d9e20b58a523 (diff)
downloadDoxygen-009829007a8e0694bf49aaa563aa21afe514b4ac.zip
Doxygen-009829007a8e0694bf49aaa563aa21afe514b4ac.tar.gz
Doxygen-009829007a8e0694bf49aaa563aa21afe514b4ac.tar.bz2
Merge pull request #7854 from albert-github/feature/bug_doxywizard_version
Show doxywizard version by means of --version
-rwxr-xr-xaddon/doxywizard/doxywizard.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp
index 27c99da..ce22367 100755
--- a/addon/doxywizard/doxywizard.cpp
+++ b/addon/doxywizard/doxywizard.cpp
@@ -698,6 +698,13 @@ int main(int argc,char **argv)
msgBox.exec();
exit(0);
}
+ else if (!qstrcmp(argv[1],"--version"))
+ {
+ QMessageBox msgBox;
+ msgBox.setText(QString::fromLatin1("Doxywizard version: %1").arg(QString::fromLatin1(getFullVersion())));
+ msgBox.exec();
+ exit(0);
+ }
}
if (argc > 2)
{