2009-04-06 Pavel Roskin <proski@gnu.org>
* commands/help.c (print_command_help): Use cmd->prio, not cmd->flags to check for GRUB_PRIO_LIST_FLAG_ACTIVE.
This commit is contained in:
parent
ea761d4014
commit
761319cfd3
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-04-06 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* commands/help.c (print_command_help): Use cmd->prio, not
|
||||
cmd->flags to check for GRUB_PRIO_LIST_FLAG_ACTIVE.
|
||||
|
||||
2009-04-06 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Parttool
|
||||
|
|
|
@ -55,7 +55,7 @@ grub_cmd_help (grub_extcmd_t ext __attribute__ ((unused)), int argc,
|
|||
|
||||
int print_command_help (grub_command_t cmd)
|
||||
{
|
||||
if (cmd->flags & GRUB_PRIO_LIST_FLAG_ACTIVE)
|
||||
if (cmd->prio & GRUB_PRIO_LIST_FLAG_ACTIVE)
|
||||
{
|
||||
if (! grub_strncmp (cmd->name, currarg, grub_strlen (currarg)))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue