When running haxelib run hxcpp myProgram.cppia -v or bin/Cppia myProgram.cppia -v calling Sys.args () will return ["myProgram.cppia", "-v"] instead of just ["-v"] (like e.g. a cpp compiled version does).
According to https://api.haxe.org/Sys.html argument list should not contain interpreter nor name of program file.