Revision 5431eff1

b/autotools/build-bash-completion
331 331

  
332 332
        if arg.min == 1 and arg.max == 1:
333 333
          cmpcode = """"$arg_idx" == %d""" % (last_arg_end)
334
        elif arg.min == arg.max:
334
        elif arg.min <= arg.max:
335 335
          cmpcode = (""""$arg_idx" -ge %d && "$arg_idx" -lt %d""" %
336 336
                     (last_arg_end, last_arg_end + arg.max))
337 337
        elif arg.max is None:

Also available in: Unified diff