Skip to content

Commit df070eb

Browse files
committed
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).
1 parent 3040df2 commit df070eb

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)