Skip to content

Commit 9229b2b

Browse files
committed
Messages could land in different files
Messages about the devUsage should all be written by means of the same set of routines (otherwise they might land in different files upon redirection of the output)
1 parent 33a89a6 commit 9229b2b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/doxygen.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -11189,9 +11189,9 @@ static void devUsage()
1118911189
msg(" -b making messages output unbuffered\n");
1119011190
msg(" -c <file> process input file as a comment block and produce HTML output\n");
1119111191
#if ENABLE_TRACING
11192-
msg(" -t [<file|stdout|stderr>] trace debug info to file, stdout, or stderr (default file stdout)\n");
11193-
msg(" -t_time [<file|stdout|stderr>] trace debug info to file, stdout, or stderr (default file stdout),\n"
11194-
" and include time and thread information\n");
11192+
msg(" -t [<file|stdout|stderr>] trace debug info to file, stdout, or stderr (default file stdout)\n");
11193+
msg(" -t_time [<file|stdout|stderr>] trace debug info to file, stdout, or stderr (default file stdout),\n"
11194+
" and include time and thread information\n");
1119511195
#endif
1119611196
msg(" -d <level> enable a debug level, such as (multiple invocations of -d are possible):\n");
1119711197
Debug::printFlags();
@@ -11476,7 +11476,7 @@ void readConfiguration(int argc, char **argv)
1147611476
case 'c':
1147711477
if (optInd+1>=argc) // no file name given
1147811478
{
11479-
err("option \"-c\" is missing the file name to read\n");
11479+
msg("option \"-c\" is missing the file name to read\n");
1148011480
devUsage();
1148111481
cleanUpDoxygen();
1148211482
exit(1);
@@ -11501,7 +11501,7 @@ void readConfiguration(int argc, char **argv)
1150111501
int retVal = Debug::setFlagStr(debugLabel);
1150211502
if (!retVal)
1150311503
{
11504-
err("option \"-d\" has unknown debug specifier: \"{}\".\n",debugLabel);
11504+
msg("option \"-d\" has unknown debug specifier: \"{}\".\n",debugLabel);
1150511505
devUsage();
1150611506
cleanUpDoxygen();
1150711507
exit(1);

0 commit comments

Comments
 (0)