plantuml / backlog

Contains all issues for plantuml that are not currently working-in-progress
0 stars 0 forks source link

Passing a config file with -version is invalid #38

Open Kernald opened 4 years ago

Kernald commented 4 years ago

Using this command line: plantuml -nometadata -p -tpng -config plantuml.skin < test_graph.puml > out.png

Works fine if the content of test_graph.puml is a regular graph. If it contains this:

@startuml
version
@enduml

Plantuml fails to generate anything:

ERROR
1
Syntax Error?
Some diagram description contains errors
arnaudroques commented 1 year ago

I think the issue come from the fact that the plantuml.skin config file contains some lines which are included before "version". Can you check without any plantuml.skin config file ? Thanks

Kernald commented 1 year ago

This is obviously the issue, but PlantUML should arguably not stop recognizing version because a configuration file has been specified.