Implement --select-1 and --exit-0 (#27, #36)