rebase: act on command line outside parsing loop