util: clarify a bit of the code for parsing commands in wmgenmenu