diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-08-15 18:44:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-15 18:44:23 (GMT) |
commit | 9316a08624d834a635a82b5aa394ef621dbf513d (patch) | |
tree | 875ff079a95852799b14365ddd4e8a019fe6991e /src | |
parent | e496e5d8050f48b209a149b4a4c4f37a116626dd (diff) | |
parent | 5c3bcaadff1a693dab41ee49701dc12df7d6b09a (diff) | |
download | Doxygen-9316a08624d834a635a82b5aa394ef621dbf513d.zip Doxygen-9316a08624d834a635a82b5aa394ef621dbf513d.tar.gz Doxygen-9316a08624d834a635a82b5aa394ef621dbf513d.tar.bz2 |
Merge pull request #6451 from albert-github/feature/issue_6450
Cannot Generate Layout File using -l
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)) { |