— Command: submenu title [--class=class ...] [--users=users] [--unrestricted] [--hotkey=key] { menu entries ... }
This defines a submenu. An entry called title will be added to the
menu; when that entry is selected, a new menu will be displayed showing all
the entries within this submenu.
All options are the same as in the menuentry command
(see menuentry).