Handle invalid arguments to runCommand