Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Cannot Generate Layout File using -l
Regression on earlier change, the -l option does not need a `Doxyfile`
  • Loading branch information
albert-github committed Aug 15, 2018
1 parent c82abe1 commit 5c3bcaa
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/doxygen.cpp
Expand Up @@ -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]=='?' ||
Expand All @@ -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);
Expand Down Expand Up @@ -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))
{
Expand Down

0 comments on commit 5c3bcaa

Please sign in to comment.