Handle all command-line input the same way