]> git.ipfire.org Git - thirdparty/grub.git/commit
Fix `help' with unloaded modules.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 9 Feb 2012 13:38:34 +0000 (14:38 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 9 Feb 2012 13:38:34 +0000 (14:38 +0100)
commite4e37e8dfae1fab3f662648addbbf1f4ed39d194
tree2f3a3b2359f32e3d1c5fc358b3c6d96d78b339ba
parente1ea3ade95471d5aee05fb698b58c836b30f61ef
Fix `help' with unloaded modules.

* include/grub/normal.h (grub_dyncmd_get_cmd): New proto.
* grub-core/normal/dyncmd.c (grub_dyncmd_get_cmd): New function.
(grub_dyncmd_dispatcher): Small stylistic fix.
* grub-core/commands/help.c (grub_cmd_help): Load missing modules when
explicit help is requested.
ChangeLog
grub-core/commands/help.c
grub-core/normal/dyncmd.c
include/grub/normal.h