diff options
author | albert-github <albert.tests@gmail.com> | 2020-03-17 19:29:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 19:29:45 (GMT) |
commit | 39ba759f4dba837818f07451314b3612d438a1bd (patch) | |
tree | 6d10f007a4107613446f308e7bf2107144e5b11b /src/doxygen.cpp | |
parent | 0f9075aefb620bbef4609111289ff6255ac15cd3 (diff) | |
download | Doxygen-39ba759f4dba837818f07451314b3612d438a1bd.zip Doxygen-39ba759f4dba837818f07451314b3612d438a1bd.tar.gz Doxygen-39ba759f4dba837818f07451314b3612d438a1bd.tar.bz2 |
Doxygen version information (#7645)
- add doxygen version to rtf, comment, output
- remove duplicate code (getFullVersion)
- more clear name to get doxygen version (getVersion becomes getrDoxygenVersion). Also to overcomecofusion with the version information for files.
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 56fac35..c269067 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -9949,15 +9949,7 @@ static int computeIdealCacheParam(uint v) void readConfiguration(int argc, char **argv) { - QCString versionString; - if (strlen(getGitVersion())>0) - { - versionString = QCString(getVersion())+" ("+getGitVersion()+")"; - } - else - { - versionString = getVersion(); - } + QCString versionString = getFullVersion(); /************************************************************************** * Handle arguments * @@ -10774,15 +10766,7 @@ void parseInput() // we would like to show the versionString earlier, but we first have to handle the configuration file // to know the value of the QUIET setting. - QCString versionString; - if (strlen(getGitVersion())>0) - { - versionString = QCString(getVersion())+" ("+getGitVersion()+")"; - } - else - { - versionString = getVersion(); - } + QCString versionString = getFullVersion(); msg("Doxygen version used: %s\n",versionString.data()); /************************************************************************** |