question about egg-optchar command

I used “egg-optchar -d test -flag XXhead=head 111.egg 222.egg” to define head, but I also want to define hair(XXhair=hair),

so how can I define these two in one command?

I tried “egg-optchar -d test -flag XXhead=head XXhair=hair 111.egg 222.egg”,but failed

egg-optchar -d test -flag XXhead=head -flag XXhair=hair 111.egg 222.egg

David