Closed
Description
Describe the bug
doxygen -x expands environment variables before doing the 'diff'.
Expected behavior
It would be interesting to have a "-x2" option that does not substitute the environment variables but rather treats them as plain text so that the 'real diff' is shown.
Screenshots
Let's assume an external user is inspecting a 'foreign Doxyfile' and does not have info about whether there are environmental variables defined within (thus, they are undefined in the shell). He gets:
doxygen -x Doxyfile
# Difference with default Doxyfile 1.9.4 (70d1c6baf5107dcfaae6fee02ea6b3ef93cea61c*)
So it's empty, no differences. Versus the manual diff I do normally:
diff Doxyfile Doxyfile.orig
41c41
< PROJECT_NUMBER = $(SOME_VARIABLE)
---
> PROJECT_NUMBER =
which shows the difference.
To Reproduce
- doxygen -g
- cp Doxyfile Doxyfile.orig
- Open the generated file and set PROJECT_NUMBER = $(SOME_VARIABLE)
- doxygen -x Doxyfile
- diff Doxyfile Doxyfile.orig
Version
Doxyfile 1.9.4 (70d1c6b*)