add parsing of minimize option