         when 1
           @_short(elem.arg)
     )
-        #parent = null
-        #switch len
-          #when 1
-            #opt = opt.replace(/^-/, '')
-            #if opt.length < 2 # short
-              #ref = @_short[opt]
-              #parent = 'short'
-            #else
-              #ref = @_half[opt]
-              #parent = 'half'
-          #when 2
-            #opt = opt.replace(/^--/, '')
-            #ref = @_long[opt]
-            #parent = 'long'
-        #console.log opt
-        #@_optError(parent, opt)
-      #else
-        #return ref)
 
   _log: (y) ->
     console.log(util.inspect(y, { colors: true, depth: null }))

        type = @[list.name][optName].type
        switch type
          when 'optarg'
            if optArg isnt undefined
              @[list.name][optName].arg = optArg


      when 1
        switch @_short

  _resolveOpts: () =>
    @_opts.forEach((elem, ind) =>

# has no arg, then it causes bebopt to exit
# non-zero and prints an error message.
  _optTypeError: (optName, optArg, nofDashes) =>
    # XXX this function MUST be called after we've already
    # taken the optargs passed in the `--OPTION ARG' fashion
    # and smooshed them in their respective
    # arg objects.
    [
      {
        dashes: 1,
