summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-07-25 11:49:43 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-07-25 11:49:43 (GMT)
commitf5e25bba9c01e473991ea6c7d8622a40e5c8f92d (patch)
tree024f9a8057ac0ba98e42226010fa8d327ab525cd /src/doxygen.cpp
parent3085b036aef7166a298b5c14961591bf4caba35e (diff)
downloadDoxygen-f5e25bba9c01e473991ea6c7d8622a40e5c8f92d.zip
Doxygen-f5e25bba9c01e473991ea6c7d8622a40e5c8f92d.tar.gz
Doxygen-f5e25bba9c01e473991ea6c7d8622a40e5c8f92d.tar.bz2
Correction for `doxygen -g`
Regression, the command `doxygen -g` didn't work anymore when no `Doxyfile` was present. (commands like `doxygen -g MY_Doxyfile` still worked even when `MY_Doxyfile` was not present).
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 78a73b8..68b49c2 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -10467,6 +10467,10 @@ void readConfiguration(int argc, char **argv)
{
configName="doxyfile";
}
+ else if (genConfig)
+ {
+ configName="Doxyfile";
+ }
else
{
err("Doxyfile not found and no input file specified!\n");