Support arrays as options

Splitting on space doesn't work for me, using an option (like -g) which takes arguments with potential spaces won't work this way.
I couldn't test the simple case with only an array because there's no reporting but it works.