Graceful exit from incomplete command lines