anchor.diff:        <%- for sname, ssubs in subs -%>
           <%- command = ssubs["\0cmd"]; subs = ssubs.reject{|k,_| k == "\0cmd"} -%>
           (<%=sname%>)
  -        <%- unless command.nil? then -%>
  +        _describe -t options 'global options' __<%= program :name %>_common_options
  +        <%- unless command.nil? or command.options.empty? then -%>
             _arguments \
             <%- for option in command.options -%>
               <%- if flatswitches(option).count > 1 -%>
  
positive.code:             <%-else-%>
                <%= name %>:'<%= cmd.summary || cmd.description.lines[0] -%>'
              <%-end-%>
            <%end-%>
            )
            _describe -t firstArg 'firstArg' list
            _describe -t options 'global options' __<%= program :name %>_common_options
  
negative.code:       <%- unless subs.empty? -%>
        local -a subcommands
        subcommands=(
        <%- for sname, ssubs in subs -%>
          <%- command = ssubs["\0cmd"] -%>
          <%- if command.nil? then -%>
            <%=sname%>:''
          <%-else-%>
            <%=sname%>:'<%= command.summary || command.description.lines[0] -%>'
          <%-end-%>
        <%-end-%>
        )
  			_describe -t commands 'subcommand' subcommands
        <%-end-%>
        _describe -t options 'global options' __<%= program :name %>_common_options
        <%- unless command.nil? or command.options.empty? then -%>
        _arguments \
          <%- for option in command.options -%>
            <%- if flatswitches(option).count > 1 -%>
  