Closed Thunderforge closed 4 years ago
Describe the bug/issue
When running kas, the output location (specified by -o) is ignored and output instead goes to the input file (specified by -f).
kas
-o
-f
To Reproduce
make
build
cd build
./kas -o plugin.kdat -f "../examples/kdl/test.kdl"
Note that the output is as follows:
Hello, World Saving data to ../examples/kdl/test.kdl
As you can see, the output was sent to the input file, overwriting it.
Expected behavior In the above example, I expect to see:
Hello, World Saving data to plugin.kdat
In other words, the output should go to what was passed in with -o.
Desktop (please complete the following information):
Describe the bug/issue
When running
kas
, the output location (specified by-o
) is ignored and output instead goes to the input file (specified by-f
).To Reproduce
make
to generate thebuild
directorycd build
./kas -o plugin.kdat -f "../examples/kdl/test.kdl"
(per the Readme)Note that the output is as follows:
As you can see, the output was sent to the input file, overwriting it.
Expected behavior In the above example, I expect to see:
In other words, the output should go to what was passed in with
-o
.Desktop (please complete the following information):