Describe the bug
"Program file does not exists on the given path" error message is wrong in cases where more command line arguments/options are supplied.
To Reproduce
$ chaos -c tests/funtion.kaos -k -e "-fsanitize=address -fno-omit-frame-pointer -g -ggdb"
Chaos Error:
Module: -fsanitize=address -fno-omit-frame-pointer -g -ggdb
Line: 0
Program file does not exists on the given path: -fsanitize=address -fno-omit-frame-pointer -g -ggdb
$ chaos -c tests/funtion.kaos -k
Chaos Error:
Module: -k
Line: 0
Program file does not exists on the given path: -k
Expected behavior
$ chaos -c tests/funtion.kaos -k -e "-fsanitize=address -fno-omit-frame-pointer -g -ggdb"
Chaos Error:
Module: N/A
Line: 0
Program file does not exists on the given path: tests/funtion.kaos
$ chaos -c tests/funtion.kaos -k
Chaos Error:
Module: N/A
Line: 0
Program file does not exists on the given path: tests/funtion.kaos
Describe the bug "Program file does not exists on the given path" error message is wrong in cases where more command line arguments/options are supplied.
To Reproduce
Expected behavior