parsing -m option