summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dotfilepatcher.cpp1
-rw-r--r--src/doxygen.cpp4
-rw-r--r--src/markdown.cpp2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/dotfilepatcher.cpp b/src/dotfilepatcher.cpp
index 099359d..285c0bb 100644
--- a/src/dotfilepatcher.cpp
+++ b/src/dotfilepatcher.cpp
@@ -174,6 +174,7 @@ static QCString replaceRef(const QCString &buf,const QCString relPath,
if (!ref.isEmpty())
{
result = externalLinkTarget(true);
+ if (!result.isEmpty())targetAlreadySet=true;
}
result+= href+"=\"";
result+=externalRef(relPath,ref,TRUE);
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 75985f5..a416c7b 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -10110,15 +10110,15 @@ void readConfiguration(int argc, char **argv)
debugLabel=getArg(argc,argv,optind);
if (!debugLabel)
{
- err("option \"-d\" is missing debug specifier.\n");
devUsage();
cleanUpDoxygen();
- exit(1);
+ exit(0);
}
retVal = Debug::setFlag(debugLabel);
if (!retVal)
{
err("option \"-d\" has unknown debug specifier: \"%s\".\n",debugLabel);
+ devUsage();
cleanUpDoxygen();
exit(1);
}
diff --git a/src/markdown.cpp b/src/markdown.cpp
index 2e6ab3e..8e259a3 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -2264,7 +2264,7 @@ void Markdown::writeFencedCodeBlock(const char *data,const char *lng,
}
addStrEscapeUtf8Nbsp(data+blockStart,blockEnd-blockStart);
m_out.addStr("\n");
- m_out.addStr("@endcode\n");
+ m_out.addStr("@endcode");
}
QCString Markdown::processQuotations(const QCString &s,int refIndent)