add Cmd.other, Cmd.only and Cmd.except functions