grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] add clear screen command


From: phcoder
Subject: Re: [PATCH] add clear screen command
Date: Thu, 09 Apr 2009 00:45:12 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Carlos Roberto do Nascimento Costa wrote:

+  (void)mod;                   /* To stop warning. */
+  cmd = grub_register_command ("clear", grub_cmd_clear,
+               0, "Clear the terminal screen.");

I think there shouldn't be a `0' but `GRUB_COMMAND_FLAG_CMDLINE'.

Yes, you are right. grub_register_command isn't the correct function to register
a command and grub_register_extcmd is the new way. However, there are still
modules need to be fixed, right?! I'll write another e-mail about it soon.

Your declaration is correct


------------------------------------------------------------------------

_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel


--

Regards
Vladimir 'phcoder' Serbinenko




reply via email to

[Prev in Thread] Current Thread [Next in Thread]