According to Jeff Bridgman:
"Common thinking among military historians used to be that metal grommets did not exist during the Civil War and were therefore not used on Civil War era flags. This is a myth, however. Many Civil War-period flags have metal grommets. There are at least two patents prior to the Civil War."
http://www.jeffbridgman.com/html/antiqueflags.htm