Allow numeric option arguments

"git log" takes a numeric argument that limits how much history it
shows.  The argument needs to begin with a single dash, even when the
number itself is longer than one character.  That isn't possible
without this change (we need to output "-10" instead of "--10").