       _refns = ref.replace(/^#(.*)Beat\..*/, '$1')
       _refchild = ref.replace(/^#.*Beat\.(.*)/, '$1')
       _ref = @["_#{_refns}"][_refchild]
-      log.GOOFY(_ref)
-      log.GOOFY(_refns)
-      log.GOOFY(_refchild)
       if _ref is undefined
         err = "Bebopt: bad reference: #{_ref}: `#{ref}'"
         throw new Error(err)

        fn: fn,
        desc: desc,
        type: 'flag'
    else
      @_short[name] = _ref
    return @

  halfBeat: (name, fn, desc) =>
    @_beatError('long', name, fn, desc)
    _ref = @_refError(fn)
    
    if _ref is false
      @_shortLong[name] =
        fn: fn,
        desc: desc,
        type: 'flag'
    else
      @_shortLong[name] = _ref
    return @

module.exports = Bebopt

    else
      return false

  _beatError: (parent, name) ->
    switch parent
      when 'long'
        if name.length < 2
