separate commands from options