remove optimist dependency