updated longOpts to work more like shortOpts