Reformatting command and group specifications