added long option support in opts_get()