diff options
author | albert-github <albert.tests@gmail.com> | 2020-06-16 13:18:25 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-06-16 13:18:25 (GMT) |
commit | df070ebb578db360f4b888a6d674d9e20b58a523 (patch) | |
tree | d2bfdbfe9eb881884dd071c3432974b80399b3ef | |
parent | 3040df2f0aa29a4207de5b37da1d20e3d27340bb (diff) | |
download | Doxygen-df070ebb578db360f4b888a6d674d9e20b58a523.zip Doxygen-df070ebb578db360f4b888a6d674d9e20b58a523.tar.gz Doxygen-df070ebb578db360f4b888a6d674d9e20b58a523.tar.bz2 |
Show doxywizard version by means of --version
Analogous to show help information (`--help`) also show the, full, version of the doxywizard (in the about box only the short version is shown).
-rwxr-xr-x | addon/doxywizard/doxywizard.cpp | 7 |
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) { |