I suspect it was adopted from a bigger snippet that had support for parsing things like "-abc" as "-a -b -c", etc.