Optical study of the development of a plasma jet for a capillary discharge