What did Roger Waters of Pink Floyd mean by this line in the song "Wish You Were Here? - roger barrett - pink floyd

"Did you exchange a visit to the war for a lead role in a cage?" Undoubtedly one of the best lines, but what the hell, with Syd Barrett's? "I've always heard this song was about Syd Barrett. Syd was a rebel?