Function to parse command line to argv