Fix for multiple argument values

Currently syntax `--opt=val1 --opt=val2` generates `{'--opt': 'val2'}` result. According to python version, it should generate `{'--opt': ['val1', 'val2']}`.