diff options
author | albert-github <albert.tests@gmail.com> | 2018-08-15 18:29:52 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-08-15 18:29:52 (GMT) |
commit | 5c3bcaadff1a693dab41ee49701dc12df7d6b09a (patch) | |
tree | d538ef7d107496d1b0b3bb92b93f54a1ad91908f /src | |
parent | c82abe1f23ec55aa1d05f118c2bae3aac3b68296 (diff) | |
download | Doxygen-5c3bcaadff1a693dab41ee49701dc12df7d6b09a.zip Doxygen-5c3bcaadff1a693dab41ee49701dc12df7d6b09a.tar.gz Doxygen-5c3bcaadff1a693dab41ee49701dc12df7d6b09a.tar.bz2 |
Cannot Generate Layout File using -l
Regression on earlier change, the -l option does not need a `Doxyfile`
Diffstat (limited to 'src')
-rw-r--r-- | src/doxygen.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 68b49c2..4cc3ca9 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -10207,7 +10207,6 @@ void readConfiguration(int argc, char **argv) bool genConfig=FALSE; bool shortList=FALSE; bool updateConfig=FALSE; - bool genLayout=FALSE; int retVal; while (optind<argc && argv[optind][0]=='-' && (isalpha(argv[optind][1]) || argv[optind][1]=='?' || @@ -10220,10 +10219,12 @@ void readConfiguration(int argc, char **argv) genConfig=TRUE; break; case 'l': - genLayout=TRUE; layoutName=getArg(argc,argv,optind); if (!layoutName) { layoutName="DoxygenLayout.xml"; } + writeDefaultLayoutFile(layoutName); + cleanUpDoxygen(); + exit(0); break; case 'd': debugLabel=getArg(argc,argv,optind); @@ -10505,12 +10506,6 @@ void readConfiguration(int argc, char **argv) cleanUpDoxygen(); exit(0); } - if (genLayout) - { - writeDefaultLayoutFile(layoutName); - cleanUpDoxygen(); - exit(0); - } if (!Config::parse(configName,updateConfig)) { |