Revision: 2069
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2069
Author: proski
Date: 2009-04-06 16:15:36 +0000 (Mon, 06 Apr 2009)
Log Message:
-----------
2009-04-06 Pavel Roskin <[email protected]>
* commands/help.c (print_command_help): Use cmd->prio, not
cmd->flags to check for GRUB_PRIO_LIST_FLAG_ACTIVE.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/commands/help.c
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-04-06 09:51:01 UTC (rev 2068)
+++ trunk/grub2/ChangeLog 2009-04-06 16:15:36 UTC (rev 2069)
@@ -1,3 +1,8 @@
+2009-04-06 Pavel Roskin <[email protected]>
+
+ * 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 <[email protected]>
Parttool
Modified: trunk/grub2/commands/help.c
===================================================================
--- trunk/grub2/commands/help.c 2009-04-06 09:51:01 UTC (rev 2068)
+++ trunk/grub2/commands/help.c 2009-04-06 16:15:36 UTC (rev 2069)
@@ -55,7 +55,7 @@
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)))
{