grub-script-check - check grub.cfg for syntax errors
grub-script-check [OPTION...] [PATH]
Checks GRUB script configuration file for syntax errors.
print verbose messages.
give this help list
give a short usage message
print program version
Report bugs to <bug-grub@gnu.org>.
The full documentation for grub-script-check is maintained as a Texinfo manual. If the info and grub-script-check programs are properly installed at your site, the command
info grub-script-check
should give you access to the complete manual.