Convert an object of options into an array of command-line arguments