Skip to content

Commit 0098290

Browse files
authored
Merge pull request doxygen#7854 from albert-github/feature/bug_doxywizard_version
Show doxywizard version by means of --version
2 parents e922fac + df070eb commit 0098290

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

addon/doxywizard/doxywizard.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,13 @@ int main(int argc,char **argv)
698698
msgBox.exec();
699699
exit(0);
700700
}
701+
else if (!qstrcmp(argv[1],"--version"))
702+
{
703+
QMessageBox msgBox;
704+
msgBox.setText(QString::fromLatin1("Doxywizard version: %1").arg(QString::fromLatin1(getFullVersion())));
705+
msgBox.exec();
706+
exit(0);
707+
}
701708
}
702709
if (argc > 2)
703710
{

0 commit comments

Comments
 (0)