< Did we see a -- separator
Match an integer string, returning 1 if matched, 0 if not.
Check if a string has the given prefix. Returns 0 if not prefixed or the length of the prefix if it is.
Check if we're processing past the single -- separator
Check current args entry against a "bool" opt (ie. --[no-]progress). If opt matches positively, out will be set to 1, or if opt matches negatively, out will be set to 0, and in both cases 1 will be returned. If neither the positive or the negative form of opt matched, out will be -1, and 0 will be returned.
Check current args entry against opt string parsing as int. If opt matches exactly, take the next arg as an int value; if it matches as a prefix (equal sign optional), take the remainder of the arg as a int value; otherwise return 0.
Check current args entry against opt string. If it matches exactly, take the next arg as a string; if it matches as a prefix with an equal sign, take the remainder as a string; otherwise return 0.
Check current args entry against opt string parsing as uint16. If opt matches exactly, take the next arg as a uint16_t value; if opt is a prefix (equal sign optional), take the remainder of the arg as a uint16_t value; otherwise return 0.
Check current args entry against opt string parsing as uint32. If opt matches exactly, take the next arg as a uint16_t value; if opt is a prefix (equal sign optional), take the remainder of the arg as a uint32_t value; otherwise return 0.
Check current args entry against opt string. If it matches exactly, take the next arg as a string; if it matches as a prefix with an equal sign, take the remainder as a string; if value not supplied, default value def will be given. otherwise return 0.
Consume all remaining arguments in a git_strarray
Argument-processing helper structure