replaced the Parse function to function like the default go-flags library and modified the test cases accordingly
resolved merge conflicts