O-acetylation controls the glycosylation of bacterial serine-rich repeat glycoproteins.